Social media example - Navigation and close sidebar

I would like to close the sidebar and navigate to another page when an item in the sidebar is clicked. Any idea on how to do that?

The Hamburger Icon is also not able to close the navbar, it just pops back into view.

Hi!

Can you share the code in question? What you are describing should be simple. Using <Navigator /> and <Router /> you can for example in the clicked handler tell the router to go to a particular page