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

Error: [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. #30

Open
ch4r1y opened this issue Apr 12, 2019 · 1 comment

Comments

@ch4r1y
Copy link

ch4r1y commented Apr 12, 2019

It happens when you are doing scrolling and you try to move one slide at a time.

image

I think the fix can be add "event.cancelable":

`
// if user is not trying to scroll vertically
if (event.cancelable && !isScrolling) {
// prevent native scrolling
event.preventDefault();

      // stop slideshow
      stop();

      // increase resistance if first or last slide
      if (continuous) {

`

@miksansegundo
Copy link

This issue crashes Safari UIWebView, the fix is:

if (event.cancelable) event.preventDefault();

Consider merging the PR #36, please.

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

2 participants