Repository navigation
[Help]: Carousel resets to first slide during route transition #962
SummaryI’m working on a Nuxt 3 application where I use Vue transitions. The problem is that when I navigate between routes and the transition occurs, the carousel resets to the first slide before the transition completes, which looks weird. I want to persist the carousel on the current slide during route transition (or maintain its state after a page refresh). Is it possible to do with Embla or I need a state management like Pinia? Thank you. If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox exampleNo response |
Replies: 1 comment 1 reply
|
Hi @michaelprys, Your problem could be related to this maybe? If yes, a bug report was created in the Don’t know if the Vue team will do anything about it though because they’re claiming it’s by design. |
Hi @michaelprys,
Your problem could be related to this maybe?
If yes, a bug report was created in the
vuejs/corerepository because all other reactive libraries behave as expected but Vue doesn’t. See:Don’t know if the Vue team will do anything about it though because they’re claiming it’s by design.