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

Click on slide to change route breaks slider #88

Open
2 tasks done
leogenot opened this issue May 22, 2023 · 0 comments
Open
2 tasks done

Click on slide to change route breaks slider #88

leogenot opened this issue May 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@leogenot
Copy link

leogenot commented May 22, 2023

Checks

Version

0.6.12

Description

On Nuxt 3.4, having Nuxt-link as slide breaks slider when going to the new route, here we see the Dom gets completely changed (I slowed down the transition btw pages to see what was going on) as if the slider ref or options where reset on route change. it seems like the slider is being destroyed before the component gets unmounted

Screen.Recording.2023-05-22.at.11.13.33.mov

Reproduction Link

No response

Steps to Reproduce

1.Have a slide with Nuxt-link
2.
...

Expected Behaviour

slider should stay the same before being unmounted

@leogenot leogenot added the bug Something isn't working label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant