Splidejs / vue-splide

The Splide component for Vue.
MIT License
323 stars 76 forks source link

Slides align vertically when the component is destroyed #104

Open michaelprys opened 5 months ago

michaelprys commented 5 months ago

Checks

Version

0.6.12

Description

I'm using a 1000ms vue-transition and whenever I change the route, I can see the slides change the alignment to vertical during the transition (when the carousel is unmounted). You won't notice it if you don't use a transition though.

Reproduction Link

No response

Steps to Reproduce

  1. Try using a vue-transition, set it somewhere around 1000ms so you have time to see the issue.
  2. Scroll to the carousel section and try changing the route. ...

Expected Behaviour

The carousel should stay horizontal even when the component is destroyed, so that there's no unexpected behavior.

arturmamedov commented 3 months ago

Maybe can help https://github.com/Splidejs/vue-splide/issues/87