Update slide width and then transition to the slide #7435
Unanswered
animeshk874
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on a carousel where I want to first increase the width of a given slide, and then slide to that slide. However, the
slideTo()
method doesn't seem to be working as expected when usingCSS Transition
on the width propertyDemo - https://stackblitz.com/edit/vitejs-vite-kd6dk9?file=src%2FApp.tsx,src%2FSlides.tsx,src%2FApp.css,src%2Fmain.tsx&terminal=dev
Notice how disabling the
transition
property in App.css fixes the issueBeta Was this translation helpful? Give feedback.
All reactions