Open danielkorte opened 4 months ago
t0ggles-create swiper
Task nolimits4web/SWIPER-134 was created
Interesting to add: slidesOffsetBefore
will be applied as expected when grid.rows
has a value greater than 1. It is just slidesOffsetAfter
that will not be applied.
https://codepen.io/roye7777777/pen/BagYqKR
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-grid-forked-kx7t38
Bug description
For my
grid.rows = 2
swipers, theslidesOffsetAfter
setting has no effect.Issue #7298 may be related, but that may only apply to the
slidesOffsetBefore
setting because I have a non-grid swiper whereslidesOffsetAfter
works just fine. Not sure about the before setting.Issue #5633 may be related too, but that issue is attempting to remove space at the end. It also uses
slidesPerView: 'auto'
unlike this issue which usesslidesPerView: 3
.Expected Behavior
slidesOffsetAfter
should add space after the slides.Actual Behavior
No space is added.
Swiper version
11.1.3
Platform/Target and Browser Versions
All modern browsers and OSs
Validations
Would you like to open a PR for this bug?