v12.1.3

allenai/olmocrv12.1.3Mar 24, 2026by nolimits4web

AI Summary

This release focuses on bug fixes for the core and grid modules, specifically addressing virtual mode resizing and slide calculation logic. It also introduces a new feature allowing for customization of navigation buttons.

Key Highlights

  • Fixed virtual slide counting during resize events in the core module.
  • Improved grid slide calculation by rounding down slides per view.
  • Added navigation button slots for greater customization.

New Features

  • Added navigation button slots to the element component.

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))