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 currently have 5 slides named 1,2,3,4,5 respectively.
On scrolling ( | is a swipe)
1,2 | 3,4 | 5,1| 2 | 3,4 | 5,1 | and so on.
I want the scrolling to be like,
1,2 | 3,4 | 5,1 | 2,3 | 4,5 | 1,2 | and so on.
So I want, on scrolling, 2 new slides should appear every time. Currently when moving from 5,1 to next slide. The 1 slide stays on the screen and the only new slide ( 2 ) appears.
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
Uh oh!
There was an error while loading. Please reload this page.
-
I just started working with swiper and discovered something in scrolling that is bugging me.
{ loop: true, slidesPerView: 2, slidesPerGroup: 2, },
I currently have 5 slides named 1,2,3,4,5 respectively.
On scrolling ( | is a swipe)
1,2 | 3,4 | 5,1| 2 | 3,4 | 5,1 | and so on.
I want the scrolling to be like,
1,2 | 3,4 | 5,1 | 2,3 | 4,5 | 1,2 | and so on.
So I want, on scrolling, 2 new slides should appear every time. Currently when moving from 5,1 to next slide. The 1 slide stays on the screen and the only new slide ( 2 ) appears.
I have tried loopAdditionalSlides but that messes with the order of the slides
Beta Was this translation helpful? Give feedback.
All reactions