Reusable Element Issue

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?

Put it inside a floating group

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.

Floating group did not help.

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

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!

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

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

There’s no hidden groups.

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

1 Like

It’s a bug issue.

@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.

1 Like

Let’s make this happen.

Can someone help?

Any ideas?

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

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)

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:

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

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

Preview:

Editor:

1 Like

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

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