v12.1.3

yukangcao/DreamAvatarv12.1.3Mar 24, 2026by nolimits4web

AI Summary

This release focuses on critical bug fixes for virtual slides and grid calculations in the Swiper library, alongside the addition of new navigation button slots.

Key Highlights

  • Fixed virtual slides count logic when virtual mode is enabled
  • Fixed grid slidesPerView calculation by rounding down before determining slide count
  • Added navigation button slots for enhanced customization

New Features

  • Navigation button slots

Full Release Notes

### Bug Fixes

- **core:** use virtual slides count in onResize when virtual mode is enabled ([#8163](https://github.com/nolimits4web/Swiper/issues/8163)) ([4400083](https://github.com/nolimits4web/Swiper/commit/44000834d05ac339a9c4dfbaaa3f60c1a0631cff))
- **grid:** round down `slidesPerView` before calculating number of slides ([#8172](https://github.com/nolimits4web/Swiper/issues/8172)) ([49a55ab](https://github.com/nolimits4web/Swiper/commit/49a55ab2c89c63679cdd21d389ec7ef9d9d375f4))

### Features

- **element:** add navigation button slots ([cc82241](https://github.com/nolimits4web/Swiper/commit/cc8224177d5f577b672e37b9386f7388d71ba3c3))