javascript - JQuery Mobile Swipe events on Windows Phone -
i'm using jquery mobile recognizing swipe events , works well. events fire on windows mobile (7.5 in case), fires web browser's default events navigating browsing history. swiping right turns page. how can prevent default behavior?
i tried preventdefault() , didn't here.
it deactivate touch:-
add css snippets:
*{ touch-action: none; } but reactivate touch event on zone, allow player play or active touch
to activate places add :-
#activetouch{ touch-action: chained; } reference:https://developer.mozilla.org/en-us/docs/web/css/touch-action
Comments
Post a Comment