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

triggerOnTouchLeave on Android gets script stuck #368

Open
johnkw opened this issue Jan 8, 2021 · 1 comment
Open

triggerOnTouchLeave on Android gets script stuck #368

johnkw opened this issue Jan 8, 2021 · 1 comment

Comments

@johnkw
Copy link

johnkw commented Jan 8, 2021

Swiping left or right with triggerOnTouchLeave on Android Chrome browser causes the script to get stuck in a weird state.

Firefox on Desktop doesn't have this problem. Not sure on any other browsers.

The next swipe fails to trigger swipeStatus during swiping, and then always fires either swipeLeft or swipeRight depending on the last swipe. (So you're forced to swipe 2 times in the same direction.)

I wasn't able to really get to the root cause, however re-loading the script fixes it. Ie, after a swipeLeft. do something like:

$("#thing").swipe("destroy");
$("#thing").swipe( { ...... } );

@Aniswashere
Copy link

swipping right causes a stuck in the script even after re-loading the script .
i think the issue came from the swipe function on android chrome .

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