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 have a swiper configured with the cards effect, loop mode, autoplay, and navigation buttons.
When I switch slides using the drag gesture a new slide is always pushed to the right side of the stack. This way there is always a slide to the right of the stack to be animated in. When using autoplay or navigation buttons this behavior is not present. After all the slides on the right side are used up new slides just jump into view, which doesn't look nice.
Here is a demo. Disable autoplay to see the desired behavior. Enable it to see unwanted behavior.
When dragging slides there is always a slide to the right.
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
-
I have a swiper configured with the cards effect, loop mode, autoplay, and navigation buttons.
When I switch slides using the drag gesture a new slide is always pushed to the right side of the stack. This way there is always a slide to the right of the stack to be animated in. When using autoplay or navigation buttons this behavior is not present. After all the slides on the right side are used up new slides just jump into view, which doesn't look nice.
Here is a demo. Disable
autoplay
to see the desired behavior. Enable it to see unwanted behavior.When dragging slides there is always a slide to the right.
Arc.-.swiper-effect-cards.forked.-.CodeSandbox.-.19.02.2024.um.16.51.48.mp4
When using autoplay the next slide jumps into view.
Arc.-.swiper-effect-cards.forked.-.CodeSandbox.-.19.02.2024.um.16.51.17.2.mp4
Is there any workaround or hack to fix this? There is also an issue about this problem here: #6920
Beta Was this translation helpful? Give feedback.
All reactions