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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -