Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
2 votes
2 answers
5k views

Hammer.js pan event only for touch devices and not for desktop computer Click+Drag

I use this standard code for Pan / Pinch (1) with Hammer.js : var mc = new Hammer(document.body); mc.add(new Hammer.Pinch({ threshold: 0 })).recognizeWith(mc.get('pan')); // let the pan gesture ...
Basj's user avatar
  • 45.4k
1 vote
1 answer
1k views

Removing 300ms tap delay on mobile web.

I am trying to have an element respond to a tap on a mobile device. Tapping the black box should reveal elements behind the top div. See here: http://shaloon.com/help/ When I implement hammer.js "...
Mark Kizelshteyn's user avatar
1 vote
2 answers
12k views

Prevent only horizontal scrolling mobile app

I'm developing an web app. On the left side is an sidebar using the Sidr-plugin (jQuery Plugin: Sidr). The test site is on my developing server. My problem is that if I'm swipe from left-to-right the ...
Jan Andrè Schlösser's user avatar