beaverbuilder / feature-requests

Feature request board for Beaver Builder products.
26 stars 4 forks source link

Add advanced actions and mobile visibility toggle for each button in a button group #332

Open jas8522 opened 11 months ago

jas8522 commented 11 months ago

I often use button groups in a beaver themer header for the following types of use case:

While you can use a separate search module, getting the spacing just right next to other buttons in a button group module is extremely difficult, so I prefer to simply contain all buttons I need within a single button group module.

However we run into the issue that there's no easy way to trigger those advanced actions on click, such as opening a navigation menu on mobile (overlay, slide-in, etc) or opening a search box.

It would be great if there was a way to tie those buttons into other modules on the page, like triggering visibility of a hidden or off-screen mobile menu, or showing a search input.

It would also be great to have the option to hide the button text in cases where you just want the icon visible.

Currently we use some CSS to hide the button text when needed, and the button as a whole on mobile or desktop. This is pretty easy. But we also use some custom javascript to trigger opening the menu and creating a search box, which isn't quite as easy.