What I’m trying to do:
I want to use groups in the sidebar in such a way that on a mobile:
- the menu does not hide after you click a group title
- it hides when you click an action (default behavior)
In other words, I want to override the default hide behavior for clicks on the group link.
If you’ve solved this problem before, or know how to do this, I would greatly appreciate your help.
I made simple app that demonstrates what I want to do here:
Clone link:
https://anvil.works/build#clone:J2EWL57RYARSLBH6=MXCYRQORREQEUWX6CUJBQE4R
What I’ve tried and what’s not working:
I tried to edit the hideSidebar javascript function in standard-page.html, but without success. I don’t know javascript.