swiper
swiper copied to clipboard
Bug: issue with drag sliders and iframes
See https://jsfiddle.net/2w0jmq8v/ (using current version on github)
- Start drag a slider and go outside of current iframe
- Stop mouse click
- Go back to iframe with slider and move only mouse
Result: Sliders are still moving without mouse click (dragging)
This happen in production, when you move mouse over iframes like videos or advertisments or leaving browser window.
You can detect this with event.which==0 in onSliderMove, but how I can stop sliding? This should be a default behavior.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This bot is strange to mark a not answered report as inactive.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
is there any solutions for this?
That's what happened to me, too......
The same problem , are there any solutions?
I have same problem. I think swiper should provide a function let user give document object
same problem and this issues ahs been ignored since 2018 https://github.com/nolimits4web/Swiper/issues/2411
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue exists in v8.4.7 (EDIT: now its v9.0.0 and the same) on demo page https://swiperjs.com/demos#pagination
If you hold down on the slider and move the mouse into the left iFrame and end the mouse click there and move the mouse over the slider again, the mouse click is still active there and the slider moves, which it should not.
Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
- Provide live link or JSFiddle/Codepen or website with issue
@nolimits4web Its still reproducible on https://swiperjs.com/demos#pagination in version 11.0.1 as I described in my last post.
Up
I am still facing this issue. Any updates on this?