javascript - jQueryMobile Tap to Stop Scrolling -
hi i'm using jquery mobile build cross platform mobile app , have following issue:
whenever there list many items, user scrolls down , when taps stop scrolling, item gets clicked instead of stopping scroll, should do?
i had same issue, solved creating flag variable gets turned off on stopscroll jqm event.
var tapflag = true; $(document).on("scrollstart",function(){ tapflag = false; }); $(document).on("scrollstop",function(){ tapflag = true; });
and allow items tapped if tap flag true.
Comments
Post a Comment