surjithctly/astro-navbar

Dropdown click event doesn't trigger when using <ViewTransitions />

eybarta opened this issue · 3 comments

Hi,
There's an issue probably related to:
withastro/astro#7765

When adding the ViewTransition component to head..
The Dropdown works until the route changes, then it stops working.

Please let me know if there's a workaround to be able and use this with the view transitions.

I could try to find a solution and open PR for this if you accept..

Are you sure it does not work in the latest version (v2.3.0)? It's been fixed already. See: #16

@eybarta have you found any solution to this? Im having the same issue. class attribute doesn't get updated when using on my swiper.js carousel. So when I navigate to page where my carousel is placed It remains noninteractive (when I reload page with f5 it works as intended)

@surjithctly thx you were right, version was off.

@BlazejBatko
Yea, you need to update the versions.