# Reusable Element Issue

**URL:** <https://forum.bubble.io/t/reusable-element-issue/42939>\
**Category:** Need help\
**Created:** [November 21, 2018, 8:26am UTC](https://forum.bubble.io/t/reusable-element-issue/42939 "2018-11-21T08:26:33Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 21, 2018, 8:26am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/1 "2018-11-21T08:26:33Z")

</div>

I’m having an issue with my element structure.

I have a mobile navbar which is reusable. The navbar height is set to 80px. Inside the reusable element, I have a mobile menu hidden which has a height of 800px. The mobile menu is shown when the hamburger inside the mobile navbar is clicked.

My issue is, I have to put the reusable element to the front so when the mobile menu is opened it spans the full height of the mobile device in front of all other elements.

For some reason, even though the element is hidden and the current reusable element is 80px everything from the top of the view and 800px down isn’t clickable. Somehow the mobile menu is still on the screen but just not visible. This is creating a problem.

What’s a better way to handle this issue?

---

<div class="post-metadata">

**Author:** ![melon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/melon/32/31427_2.png) [@melon](https://forum.bubble.io/u/melon)\
**Post date:** [November 21, 2018, 8:57am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/2 "2018-11-21T08:57:24Z")

</div>

Put it inside a floating group

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [November 21, 2018, 1:03pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/3 "2018-11-21T13:03:08Z")

</div>

In the reusable element editor, make sure the size of the element is 80px. What tends to happen is the boundaries of the reusable element expand to include the whole thing, even the items that are hidden, so you have to manually set the boundaries back to where you want them.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 22, 2018, 1:40am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/4 "2018-11-22T01:40:53Z")

</div>

Floating group did not help.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 22, 2018, 1:43am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/5 "2018-11-22T01:43:06Z")

</div>

The element is set to 80px. I still can’t click anything on the screen.

 ![23%20PM](https://us1.discourse-cdn.com/bubble/original/3X/2/d/2d58fb5279d157f0a0ae8de809b05cc365c6f8c3.png)

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [November 22, 2018, 2:22am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/6 "2018-11-22T02:22:50Z")

</div>

Just to clarify, I’m talking about in the reusable editor itself, not the page where you placed the header. It might be correct, it’s just always something I wanna check. If that’s not it, I’m out of ideas!

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 22, 2018, 2:28am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/7 "2018-11-22T02:28:26Z")

</div>

I just sent that height to 80px also. Still now working ☹

 ![11%20PM](https://us1.discourse-cdn.com/bubble/original/3X/9/1/912e00c2375171a18f5a3e51cef6183172880478.png)

---

<div class="post-metadata">

**Author:** ![marcusandrews](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/marcusandrews/32/246197_2.png) [@marcusandrews](https://forum.bubble.io/u/marcusandrews)\
**Post date:** [November 22, 2018, 4:15pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/8 "2018-11-22T16:15:04Z")

</div>

Is there a hidden group somewhere on the page? I’ve had this issue before and all it was a hidden group.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 23, 2018, 8:42pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/9 "2018-11-23T20:42:28Z")

</div>

There’s no hidden groups.

---

<div class="post-metadata">

**Author:** ![marcusandrews](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/marcusandrews/32/246197_2.png) [@marcusandrews](https://forum.bubble.io/u/marcusandrews)\
**Post date:** [November 23, 2018, 10:34pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/10 "2018-11-23T22:34:03Z")

</div>

Maybe give us editor access, and we could investigate more.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 23, 2018, 10:36pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/11 "2018-11-23T22:36:29Z")

</div>

It’s a bug issue.

---

<div class="post-metadata">

**Author:** ![neerja](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/neerja/32/29814_2.png) [@neerja](https://forum.bubble.io/u/neerja)\
**Post date:** [November 23, 2018, 10:43pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/12 "2018-11-23T22:43:48Z")

</div>

@samhouston1107 We’ll keep an eye out for your bug report. In the mean time, what do you see in the debugger when you hover over the non-clickable parts of the page. Click the light grey text called ‘show responsive settings’ under the ‘Inspect’ button and that will show you grids on the page to understand which groups/elements behave together.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 23, 2018, 10:55pm UTC](https://forum.bubble.io/t/reusable-element-issue/42939/13 "2018-11-23T22:55:18Z")

</div>

Let’s make this happen.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 24, 2018, 2:31am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/14 "2018-11-24T02:31:58Z")

</div>

Can someone help?

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 24, 2018, 2:36am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/15 "2018-11-24T02:36:48Z")

</div>

> **[Bubble - Visual Programming](https://tester504.bubbleapps.io/version-test?debug_mode=true)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![samhouston1107](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@samhouston1107](https://forum.bubble.io/u/samhouston1107)\
**Post date:** [November 24, 2018, 2:49am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/16 "2018-11-24T02:49:11Z")

</div>

Any ideas?

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [November 24, 2018, 3:41am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/17 "2018-11-24T03:41:18Z")

</div>

Hi @samhouston1107 🙂 I think the issue is caused by the “Menu Open” element overlapping with the red header group here:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/6/96b0c1f5a626143e06c835323ba483d1ef5f31bd.jpeg)

If you move the Group Menu element down (beneath the red group), and set the Group Menu element to “Collapse this element’s height when hidden”, that should make sure the “Group Menu”'s height collapses whenever it is hidden, so you can click the other elements on the page. (Also making sure the reusable element’s height is 80 in the reusable element editor and on the page, as you have it now)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/4/240e541985d3e402f27be78c9de23c64726e1a5a.png)

Since the red group is above the blue group and would be shown at all times, you can  
add a conditional statement which hides it when the Group Menu is visible:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/4/a47593eb08fcd8ef6e685bc3ae5d59b57bd66f63.png)

And set it to collapse in height when the Group Menu element is visible:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/b/5b7e614558424c4354e868e0a8a64404af22241b.png)

I just recreated your setup here and it looks like everything is clickable when it needs to be, but let me know if not! 🙂

Preview:

> **[Bubble - Visual Programming](https://faye-demo-app.bubbleapps.io/version-test/expand-menu)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Editor:

> **[Bubble Editor - faye-demo-app](https://bubble.io/page?type=custom&name=header-expand&id=faye-demo-app&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 24, 2018, 3:43am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/18 "2018-11-24T03:43:40Z")

</div>

also next time you can make your app public for better diagnostics

---

<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:** [January 30, 2019, 8:26am UTC](https://forum.bubble.io/t/reusable-element-issue/42939/19 "2019-01-30T08:26:35Z")

</div>

Closed on January 30, 2019, 8:26am UTC

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