Skip to content
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

Diagonal Swipes #6478

Closed
6 tasks done
selcuk-sahin opened this issue Mar 10, 2023 · 8 comments
Closed
6 tasks done

Diagonal Swipes #6478

selcuk-sahin opened this issue Mar 10, 2023 · 8 comments

Comments

@selcuk-sahin
Copy link

selcuk-sahin commented Mar 10, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://swiperjs.com/

Bug description

on iOS devices (tested with Safari & Brave), swiping horizontally also triggers a vertical scroll.
This was not the case with Swiper version ^8.

It seems like the transition ends immediately.
Please check the screen recordings.

Expected Behavior

I should be either swiping horizontally or scrolling vertically, but not both.
Here's an example from macOS Brave (Chromium)

swiper-mac-android.mov

Actual Behavior

When I scroll slightly vertically, the swiper.js slide transition starts but almost immediately ends. From there, I start to scroll vertically.

swiper-ios.mp4

Swiper version

9.1.0

Platform/Target and Browser Versions

ios, Safari

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • 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
@nolimits4web
Copy link
Owner

Are you on iOS 16.2?

@selcuk-sahin
Copy link
Author

Are you on iOS 16.2?

I'm on iOS 16.1.1

@nolimits4web
Copy link
Owner

Try on 16.2

@selcuk-sahin
Copy link
Author

Try on 16.2

Yes, the issue persists on iOS 16.2 and 16.3 too.

@DzmitryShamal
Copy link

DzmitryShamal commented Apr 19, 2023

15.5 also (v8 works well, but after upgrading to v9 the problem occurs)

@dkornilove
Copy link

ios 15.7.9
v.10.2.0
the issue persists

@rojadesign
Copy link

rojadesign commented Nov 7, 2023

Issue still persists after 74bb1cc in a very similiar manner as before. Tested with 8eb3b44swiper 11.0.3 on:

  • iPhone 12 Mini (iOS 16.0)
  • iPhone 13 (iOS 17.1)
  • iPhone 15 (iOS 17.0)

@epetousis
Copy link

Swiper 11.0.4 works near perfectly for me. I managed to trigger one single diagonal swipe but I cannot replicate it no matter how much I try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants