Title: crazy pattern editor *endless shrinking* behavior
Last modified: June 13, 2024

---

# crazy pattern editor *endless shrinking* behavior

 *  Resolved [s-light](https://wordpress.org/support/users/s-light/)
 * (@s-light)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crazy-pattern-editor-endless-shrinking-behavior/)
 * Hello [@virgildia](https://wordpress.org/support/users/virgildia/)
   i like your
   plugin! and got it to nicely fit inside my custom theme for my client.
 * some of my last css changes (or some other update or so) trigger a very wired
   crazy behavior in the patterns editor:
 * any idea what is happening here?
   is this a behavior that is triggerd by the plugin?
   or is it something more with gutenberg itself?!i hope to get this fixed…any tips
   are welcome!!
 * sunny greetings
   stefan

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [s-light](https://wordpress.org/support/users/s-light/)
 * (@s-light)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crazy-pattern-editor-endless-shrinking-behavior/#post-17823142)
 * found.
 *     ```wp-block-code
       .wp-block-cb-carousel.header-slider {    margin: 0;    padding: 0;    width: 100vw;    height: calc(100vh - 2.8rem);}
       ```
   
 * the last line – the `height: calc(100vh - 2.8rem);`
   triggerd this behavior..i
   think in the iframe that is used in the editor the 100vh is the iframe height..
   and i think it is a kind of feed-back-loop..the editor tries to read the height
   and then sets it.. and therefore the height inside changes….
 *  Plugin Author [Virgildia](https://wordpress.org/support/users/virgildia/)
 * (@virgildia)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crazy-pattern-editor-endless-shrinking-behavior/#post-17827008)
 * Hi [@s-light](https://wordpress.org/support/users/s-light/) ! It seems like the
   CSS that you shared is custom styling and not part of the plugin. I’m happy you
   resolved it.
 *  Thread Starter [s-light](https://wordpress.org/support/users/s-light/)
 * (@s-light)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crazy-pattern-editor-endless-shrinking-behavior/#post-17827039)
 * you are correct! – 
   this was a custom css – and as i found – it is not your plugin–
   it is the gutenberg editor itself that goes crazy…was just the first idea to 
   go here (with the idea of maybe some animations of the slider that collide or
   so…)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘crazy pattern editor *endless shrinking* behavior’ is closed to new replies.

 * ![](https://ps.w.org/carousel-block/assets/icon.svg?rev=2024115)
 * [Carousel Slider Block for Gutenberg](https://wordpress.org/plugins/carousel-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/carousel-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/carousel-block/)
 * [Active Topics](https://wordpress.org/support/plugin/carousel-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carousel-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carousel-block/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [s-light](https://wordpress.org/support/users/s-light/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/crazy-pattern-editor-endless-shrinking-behavior/#post-17827039)
 * Status: resolved