# "Collapse this element's height when hidden" not working

**URL:** <https://forum.bubble.io/t/collapse-this-elements-height-when-hidden-not-working/43592>\
**Category:** Bugs\
**Created:** [November 29, 2018, 2:59pm UTC](https://forum.bubble.io/t/collapse-this-elements-height-when-hidden-not-working/43592 "2018-11-29T14:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![furnys](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/furnys/32/29910_2.png) [@furnys](https://forum.bubble.io/u/furnys)\
**Post date:** [November 29, 2018, 2:59pm UTC](https://forum.bubble.io/t/collapse-this-elements-height-when-hidden-not-working/43592/1 "2018-11-29T14:59:53Z")

</div>

I have a page with a header, two groups and a footer.  
I’ve set “Collapse this element’s height when hidden” on the groups.  
The groups are hidden by a condition, but the footer isn’t pulled upwards: the behavior is as if I hadn’t set this flag.

EDIT: I have investigated the problem better, and it depends on the groups slightly overlapping.  
With this, I get the bug:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/6/f63d30f3c50b5cef981bd6b067503934d238d17e.png)  
In this case, the groups collapse as intended.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/9/89005aa8b866e35fa05aa9a2378ed6dc4b0ca2c6.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [December 13, 2018, 3:13pm UTC](https://forum.bubble.io/t/collapse-this-elements-height-when-hidden-not-working/43592/2 "2018-12-13T15:13:54Z")

</div>

Closed on December 13, 2018, 3:13pm UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
