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
Not able to change the browser history after two slides.
At slide 3 it adds /4 in the browser URL.
History changes only show in preview mode: https://rwhdwd-5173.csb.app/
Expected Behavior
Changing the history according to that data-history attribute.
Actual Behavior
Using wrong slides for history change beginning at the third slide first, later throwing an error:
Cannot read properties of undefined (reading 'getAttribute')
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/swiper-vue-virtual-slides-history-rwhdwd
Bug description
Not able to change the browser history after two slides.
At slide 3 it adds /4 in the browser URL.
History changes only show in preview mode: https://rwhdwd-5173.csb.app/
Expected Behavior
Changing the history according to that data-history attribute.
Actual Behavior
Using wrong slides for history change beginning at the third slide first, later throwing an error:
Cannot read properties of undefined (reading 'getAttribute')
Swiper version
11.0.6
Platform/Target and Browser Versions
macOS Chrome 121.0.6167.184 (Official Build) (x86_64)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: