Skip to content

a small script to fix the jQuery mobile swipe events to work properly and respect the vertical threshold during scroll

Notifications You must be signed in to change notification settings

arschmitz/JQM-Swipefix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

This project is officially discontinued as the issue is fixed in jquery mobile 1.4 so this is no longer needed

JQM-Swipefix

a small script to fix the jQuery mobile swipe events to work properly and respect the vertical threshold during scroll

simply include swipefix.js right after jQuery Mobile script and before you do any event bindings.

This script adds scrollTop tracking to the swipe event for accurate vertical distance.

This can also be used as a template for other extensions to the swipe event.

Example: by modifiying handleSwipe and adding another if statement you could easily add swipeup and swipe down events.

About

a small script to fix the jQuery mobile swipe events to work properly and respect the vertical threshold during scroll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •