You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having some shenanigans when trying to animte the width of the active slider when scrolling right to left. Not left to right.
Active slider has a diferente width, but when the width of the active slide is animated via css transition, right to left, it messes with translate animation of the all slider. If i only change de width without animation (transition: width 300ms ease-in) everything works ok.
Kind of hard to understand, but heres an example: code.pen
Hope you guys understand what i mumbling about here ;)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all,
I am having some shenanigans when trying to animte the width of the active slider when scrolling right to left. Not left to right.
Active slider has a diferente width, but when the width of the active slide is animated via css transition, right to left, it messes with translate animation of the all slider. If i only change de width without animation (transition: width 300ms ease-in) everything works ok.
Kind of hard to understand, but heres an example:
code.pen
Hope you guys understand what i mumbling about here ;)
Splide is great, hope is not dead
Thank you all
Beta Was this translation helpful? Give feedback.
All reactions