Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
eybarta opened this issue Jan 15, 2024 · 3 comments
Closed

Comments

@eybarta
Copy link

eybarta commented Jan 15, 2024

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..

@surjithctly
Copy link
Owner

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

@BlazejBatko
Copy link

@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)

@eybarta
Copy link
Author

eybarta commented Jan 29, 2024

@surjithctly thx you were right, version was off.

@BlazejBatko
Yea, you need to update the versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants