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
I have a slider on each of my project pages.
When I navigate from one project to another via my menu, the swiper doesn't re-init on load, and if I was already on slide 2, it shows the slide 2 of the next project, instead of the slide 1. If I go to another page between each project (project 1 > info > project 2), the issue disappears.
### Expected Behavior
Slider should re-init on page change
### Actual Behavior
The slider is not reinit
### Swiper version
9.3.2
### Platform/Target and Browser Versions
MacOS Chrome
### Validations
- [X] Follow our [Code of Conduct](https://github.com/nolimits4web/swiper/blob/master/CODE_OF_CONDUCT.md)
- [X] Read the [docs](https://swiperjs.com/swiper-api).
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Make sure this is a Swiper issue and not a framework-specific issue
### Would you like to open a PR for this bug?
- [ ] I'm willing to open a PR
This discussion was converted from issue #6781 on June 24, 2023 16:05.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Check that this is really a bug
Reproduction link
No possible link
Bug description
I have a slider on each of my project pages.
When I navigate from one project to another via my menu, the swiper doesn't re-init on load, and if I was already on slide 2, it shows the slide 2 of the next project, instead of the slide 1. If I go to another page between each project (project 1 > info > project 2), the issue disappears.
I'm using this code:
Beta Was this translation helpful? Give feedback.
All reactions