Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Re: Submenu is open indicator

Home Forums Older releases 0.9.x Submenu is open indicator Re: Submenu is open indicator

#1728
mishochu
Participant

I was able to make this work by default. Please check out the pull request https://github.com/vadikom/smartmenus/pull/15. In collapsible mode, the first click/tap on a menu item that has a sub menu activates the sub menu and the second click loads the item link (unless the click originates from the sub indicator itself. The actual links still works even in collapsible mode so long as the click is not on the sub indicator. So you no longer need to hid the sub menu indicator by default. This will not trick the end users since they can either collapse the sub menu instead of activating the item’s link or just go ahead and click on any other visual part of the link element and the link is navigated.