swiper
swiper copied to clipboard
fix(core): centerInsuffientSlides takes offsets into account
When using centerInsufficientSlides together with slidesOffsetBefore and slidesOffsetAfter, the slides won’t be centered correctly. Apparently slidesOffsetBefore and slidesOffsetAfter are not taken into account in the calculation of the offset for centerInsufficientSlides.
Resolves https://github.com/nolimits4web/swiper/issues/5436 (was closed already due to lacking information / activity, but issue still remains)
t0ggles-create swiper
Hi @nolimits4web, I also ran into this problem. Any chance to get this released in the next few weeks?
@slemling Thanks for the fix. This saves me from building a messy workaround.
Hey, any update here? It would be great to get a fix some time soon :)
Task nolimits4web/SWIPER-86 status changed to Done