Set the touch-action CSS property to none
, which works even with passive event listeners:
touch-action: none;
Applying this property to an element will not trigger the default (scroll) behavior when the event is originating from that element.
More Related Contents:
- Eliminate 300ms delay on click events in mobile Safari
- Injected li items are not formatted with CSS style [closed]
- jquery .get not getting [closed]
- jQuery Mobile: document ready vs. page events
- What’s the best way to detect a ‘touch screen’ device using JavaScript?
- jQuery Mobile: Markup Enhancement of dynamically added content
- How can I check if a checkbox is checked?
- Why I have to put all the script to index.html in jquery mobile
- Binding multiple events to a listener (without JQuery)?
- Javascript Drag and drop for touch devices [closed]
- How can I control the back button event in jQuery Mobile?
- Show virtual keyboard on mobile phones in javascript
- Disable hover effects on mobile browsers
- Detecting that the browser has no mouse and is touch-only
- Preferred Alternative to OnMouseOver for touch
- How to swipe top down JQuery mobile
- prevent touchstart when swiping
- jQuery Mobile : What is the order of page events triggering?
- Consider marking event handler as ‘passive’ to make the page more responsive
- Dynamic controlgroup and checkboxes unstyled
- Using pre-compiled templates with Handlebars.js (jQuery Mobile environment)
- How to remove jQuery Mobile styling?
- Auto Mobile Site Redirect
- How to optimize website for touch devices
- Phonegap Application text and layout too small
- manually trigger touch event
- Use a web mobile framework?
- How to determine if the client is a touch device [duplicate]
- Variation of e.touches, e.targetTouches and e.changedTouches
- In jQuery mobile, what’s the diff between tap and vclick?