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
If set loop: true on mobile only from 320 to 768 breakpoint and centeredSlidesBounds: true by default, when you resize screen from 768 to smaller, fraction pagination active slide shows NaN and Navigation stops working.
If you will refresh page everything is working as expected.
Expected Behavior
Show active slide in fraction pagination on screen resize as it works on page load.
Actual Behavior
Active slide shows NaN in fraction pagination on screen resize.
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/jovial-morning-wfl6l9?file=/index.html
Bug description
If set
loop: true
on mobile only from 320 to 768 breakpoint andcenteredSlidesBounds: true
by default, when you resize screen from 768 to smaller, fraction pagination active slide shows NaN and Navigation stops working.If you will refresh page everything is working as expected.
Expected Behavior
Show active slide in fraction pagination on screen resize as it works on page load.
Actual Behavior
Active slide shows NaN in fraction pagination on screen resize.
Swiper version
10.0.4
Platform/Target and Browser Versions
macOS, Firefox 116.0.3, Chrome 114.0.5735.198
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: