Unable to trigger a close on the NavBar component?

Hey all. I have run into an issue. When on mobile and using the provided NavBar component, on click of a link in the navbar, it does not close the navbar. I have managed to remove the menu with custom code but changing the close button back to a hamburger menu is done by using state, which I can’t access, I think. Has anyone come across this and found a solution?

Hi @ruling_cricket , unfortunately this isn’t possible yet natively within plasmic studio. We are currently working on introducing State Management as a concept, but in case it helps for now, the workaround is to fork the code component and create a custom behavior that triggers the closed state. https://docs.plasmic.app/learn/custom-behaviors/

Thank you. I ended up just building a custom component. Thank you.