The the page contains an element with a transition, the dropdown menu does not close when clicking a dropdown item. The transition is run, and the page navigates, but the dropdown menu stays open on the new page.
This even happens if the transition has 0 duration, so I have found no way to work around it except removing all out-transitions.
As you can see in the video below, the issues does not happen every single time, but usually when navigating from About to Home, since About contains an SVG with an out transition. It never happens when navigating from Home to About, since Home does not contain a transitioning element.
Describe the bug
The the page contains an element with a transition, the dropdown menu does not close when clicking a dropdown item. The transition is run, and the page navigates, but the dropdown menu stays open on the new page.
This even happens if the transition has 0 duration, so I have found no way to work around it except removing all out-transitions.
As you can see in the video below, the issues does not happen every single time, but usually when navigating from About to Home, since About contains an SVG with an out transition. It never happens when navigating from Home to About, since Home does not contain a transitioning element.
https://github.com/user-attachments/assets/9c1cda98-80df-44f4-bcfb-c6986255aff5
Reproduction
https://www.sveltelab.dev/w49gnj29qhqvsby
Logs
No response
System Info