All Questions
4
questions
1
vote
0
answers
225
views
Should I use Hammer.js if I only need swipeleft
In my website I only want to open sidebar menu on swipeleft. I don't want to use Hammer.js (7.34KB) only for this functionality.
Is there any other option available?
I'll use this code to close the ...
0
votes
1
answer
970
views
Reliable use of hammer.js to get pan events while still naturally scrolling in iOS ...?
Essentially, I want to be able to use hammer.js simply to detect start and end of any pan event (or at the very least all pan-x events), whilst still allowing natural overflow-scrolling on the x-axis. ...
2
votes
1
answer
822
views
HammerJS v2 <div> with 'overflow-y: auto' does not scroll on ipad
I have a page with HammerJS v2 on it. My layout looks like:
body - overflow: hidden
div1 - overflow: hidden (this is always the size of the viewport)
div2 - overflow-y: auto
div1 - ...
0
votes
1
answer
2k
views
Hammer.js cannot get swipe working
I'm trying to put together a simple example of hammer.js. It seems like a cool library but I just cannot figure out what I'm doing wrong.
I expect the box to move by 10px each time I swipe it either ...