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
When jumping to a virtual slide (click a button under the slider) it throws an error: runtime-core.esm-bundler.js:221 Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
It's not able to get the attribute "data-history" from the slide in the history code.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/swiper-vue-virtual-slides-history-rmghlx?file=%2Fsrc%2FApp.vue%3A13%2C18
Bug description
When jumping to a virtual slide (click a button under the slider) it throws an error:
runtime-core.esm-bundler.js:221 Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
It's not able to get the attribute "data-history" from the slide in the history code.
History changes only show in preview mode: https://rmghlx-5173.csb.app/
Expected Behavior
Showing the history of the slide in the browser url
Actual Behavior
Not changing the history, because it does not get the attribute "data-history"
Swiper version
11.0.7
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: