Community forum for knowledge and support

Updated 9 months ago

Keep Submenu Open During Accordion Navigation

At a glance

A community member is having an issue with a sub-menu automatically closing when browsing pages inside an accordion. Another community member suggests removing the interaction from the accordion on the interior pages or reversing the interaction, noting that it may still be a bit finicky but possible to achieve with pure interactions. The community member provides a read-only link to their site, but there is no explicitly marked answer.

Useful resources

Hey there πŸ‘‹ Anyone have an idea on how I could leave the Sub menu open when I am browsing on of the page inside the accordion ?

L
M
4 comments

The menu is automatically closing when I browse one of the page inside it:

I am assuming that this is turned into a component? Can you share a read-only link?

okay, couple of options - one is you could remove the interaction from the accordion on those interior pages. Or you could reverse the interaction.

^^ I apparently had this drafted from a few days ago...

In my earlier tests, its still a little bit finicky but it does seem possible to do with pure interactions. Its mostly about saying "Hey, I am on this page, do a different interaction instead"

Add a reply
Sign up and join the conversation on Slack