Hammerjs v2.0.8
Consider the code below. When I test this in Chrome on my desktop (v57)) and iOS (v58) I get the panend event. When testing on Android Chrome (v57) I do not.
var mc = new Hammer.Manager(window, {});
mc.add( new Hammer.Pan({ direction: Hammer.DIRECTION_ALL, threshold: 0}) );
mc.on("pandown", function(ev) {
console.log('pandown', ev);
});
mc.on("panup", function(ev) {
console.log('panup', ev);
});
mc.on('panend', function(ev) {
console.log('panend', ev);
})
mc.on('panstart', function(ev) {
console.log('panstart', ev);
})
Hammerjs v2.0.7
When i use "touch-action: pan-y".The panend event not work.
---------2017.7.3 update-------------
In mobile phone,this can work well.So i give up test in PC chrome.
after remove pan-y, it started to work
same problem on android chrome. panend won't trigger.
Most helpful comment
Hammerjs v2.0.7
When i use "touch-action: pan-y".The panend event not work.
---------2017.7.3 update-------------
In mobile phone,this can work well.So i give up test in PC chrome.