Hiding reusable floating sidebar menu when click away?

How do I hide a reusable floating sidebar menu when clicked away? Whenever the hamburger menu is clicked it shows the sidebar menu, but when I click away it doesn’t hide.

I haven’t been able to find this particular problem on the forums or it hasn’t been explained clearly enough. I just think this should be a function that the Bubble team should work on adding asap to the Floating group. There should be an option in the Appearance tab of a Floatinggroup that when selected you can hide a floatgroup when clicked away from.

1 Like

You can make create the same functionality easily with the Floating Group.

  • Set the FG to “align to parent”.
  • Make it not fit height nor width so it fills the page.
  • Create 2 groups, 1 for whatever UI and another just an empty group.
  • Make sure the empty one is “at the back”.
  • Create a WF when user clicks the empty group, hide floating group.
  • Make sure the floating group is set to “collapse when hidden” so it doesn’t block any clicks.

Instead of hiding the floating group you can instead hide the empty group and shrink your UI group. Just make sure the floating group’s width is adjusted also or it will block clicks.

But It’s a reusable floating sidebar? Does this work with reusable floatgroup?

I believe I have tried a similar method that worked but i had to copy/paste the menu to every page.
So what your saying is that your method works with Reusable floatgroup menus?

Your answer doesn’t seem to apply to Reusables.

I have most of my sidebars in reusable floating groups. Works the same as it does in the page. All the blank group does is hide/shrink the reusable.

Is there something in particular you are not sure about when implementing it?

" Make it not fit height nor width so it fills the page."

What do you mean by this? Do you mean not to make the height and width fixed width and set no minimum height nor width?

I just found out there is a plugin for that called “Slidebar menu”. Do you recommend it?

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