Menu Expanded Memory

In our app, you can expand the menu into the submenu, but when you click on one of those submenu items, it closes down the menu again and does not remember the expanded version. Does anyone have a fix for this?

Hard to be more precise without seeing how you’ve implemented the expand menu, but I’m using localStorage to save the menuExpanded state. I have a script that checks the value of menuExpanded and sets the menu state based on the results. There are a few other checks built into the function as well for some weird edge cases. It’s not perfect, but it works until Softr gives us a native side menu that can expand and minimize.

Would you be willing to share your script for this? I was told by the Softr team it wasn’t possible with custom code :slight_smile: