I’ve created a mega menu with some custom code using Wapplers drop down element - within that I’ve added a tab navigation menu to create the mea menu (see screen below).
The problem I’m having as when I click on each of the tabs to display the different tab content area the whole drop down closes.
Any recommendations on how to stop this happening?
Also as this is in a layout page - I don’t seem to be able to trigger any actions on hover (mouse over) - nothing appears in the actions options menu, just blank.
This is a container with a default set of tabs added. The container has a click event that triggers a notification. Without the modifier (self) the notification triggers on each click of a tab, because the click bubbles up the dom.
Unfortunately I am unable to do any events for some reason, perhaps as this is on a layout - the events section is blank. I’m using the default Wappler tab navigation - so this switches between tabs and tab content on click.
I’ve tried adding a click event but leaving the selection empty and testing the various modifiers based on your recommendation just now - without luck.
Thank you for this, much appreciated. Unfortunately this stopped the nav drop down from opening at all - however, opening within Wappler this did in fact work as desired when open which is amazing, I just can’t figure out why it’s stopping it from opening in the first place.
When you say class control, where would you add this in the code?
Noting this is a NodeJS project if that makes any difference?