-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When 'previous/next slide' buttons are inside slider and if clicked on next slide button, the slider is moving to previous slide on tab/window switch #7406
Closed
5 of 6 tasks
eswar-janjanam opened this issue
Mar 21, 2024
· 3 comments
· Fixed by Mapuppy09/tradetrust-website#8 or rizwan-r-r/generative-ai-docs#55 · May be fixed by heliumtank92/am92-react-design-system#10, aswanthchandran0/eccomerce#4 or rajkowski/cms-platform#28
Closed
5 of 6 tasks
When 'previous/next slide' buttons are inside slider and if clicked on next slide button, the slider is moving to previous slide on tab/window switch #7406
eswar-janjanam opened this issue
Mar 21, 2024
· 3 comments
· Fixed by Mapuppy09/tradetrust-website#8 or rizwan-r-r/generative-ai-docs#55 · May be fixed by heliumtank92/am92-react-design-system#10, aswanthchandran0/eccomerce#4 or rajkowski/cms-platform#28
Labels
t0ggles
Linked to the t0ggles task
Comments
t0ggles-create swiper |
Task nolimits4web/SWIPER-78 was created |
eswar-janjanam
changed the title
[LINK UPDATED] When 'previous/next slide' buttons are inside slider and if clicked on next slide button, the slider is moving to previous slide on tab/window switch
When 'previous/next slide' buttons are inside slider and if clicked on next slide button, the slider is moving to previous slide on tab/window switch
Mar 22, 2024
Task nolimits4web/SWIPER-78 status changed to Done |
This was referenced Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-css-mode-forked-4qc5hv
Bug description
When the buttons for moving the slides back and forth are inside the slider and the user clicks on the button for moving to next or previous slide, the slide is moving to next or previous slide accordingly. But after the slide is changed, if the user switches browser tab / browser window and coming back to the tab/window containing swiper, the slider is moving back to previous slide from where the button is clicked.
Steps to reproduce:
Expected Behavior
The slider should stay in the same slide instead of moving to previous slide on tab/window switch.
Actual Behavior
The slider is moving to previous slide instead of staying in the same slide on tab/window switch.
Swiper version
11.0.3
Platform/Target and Browser Versions
macOS chrome 122.0.6261.129
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: