Alright this might be dumb but..
I’m using both dropdowns and dialogs to let users navigate to other pages. However, when the next page loads, the dropdown or dialog remains open. How do I change that initial state? Putting a ‘close’ workflow on every link seems cumbersome and unintuitive…
So I use a ‘Sheet’ dialog for my mobile menu, but once I click a link, it’s still open on the next page. I don’t see any option like ‘close on click’, and no ‘init state’ or anything. Should I be using a different element then?