Dropdown element does not collapse when navigating through pages

Dropdown element does not collapse when navigating through pages

2024-07-04 02.25.52

In the video, I switched from Homepage to My Account and the dropdown stayed expanded

I’m using the built-in dropdown element inside the component

Does it have the ability to collapse after navigating/tapping?

Hey @andrii_r :wave:
I’m guessing you are using the Profile Dropdown inside of a Multi-page section. Since the component is not reloaded when going to an other page, it’s not closing on change. Right now, the dropdown component does not have the ability to close itself after clicking on an item inside.
But that would be a great improvement! You can make a feature request here: https://feedback.weweb.io/make-a-request/

Meanwhile, what you can do would be to recreate the Dropdown component from scratch with that behavior.