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

touchReleaseOnEdges not working since V9 #6381

Closed
5 of 6 tasks
alahji7 opened this issue Feb 10, 2023 · 1 comment
Closed
5 of 6 tasks

touchReleaseOnEdges not working since V9 #6381

alahji7 opened this issue Feb 10, 2023 · 1 comment

Comments

@alahji7
Copy link

alahji7 commented Feb 10, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/nervous-shtern-rics8g?file=%2Fpages%2Findex.tsx&selection=%5B%7B%22endColumn%22%3A22%2C%22endLineNumber%22%3A18%2C%22startColumn%22%3A22%2C%22startLineNumber%22%3A18%7D%5D

Bug description

I Swipe trough all the slides till the last slide. After the last slide the touch-events are not released, there is no chance to escape the Swiper component when it takes the full height & width to see the content below the swiper-component.

Mind the property touchReleaseOnEdges is set to true.

Expected Behavior

Touchevents should be released and being able to escape the swiper component to see the content below.

Actual Behavior

If you scroll to the last slide it wont allow to go further.

Swiper version

9.0.4

Platform/Target and Browser Versions

IOS

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
@alahji7 alahji7 added the React label Feb 10, 2023
@alahji7
Copy link
Author

alahji7 commented Feb 10, 2023

A workaround to fix it for now was to downgrade the swiper module to v8.4.7 in my project.

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

No branches or pull requests

2 participants