mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
prevent double active states on touch
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
// in XX milliseconds, set the queued elements to active
|
||||
// add listeners to clear all queued/active elements onMove
|
||||
if(e.type === 'touchstart') {
|
||||
document.body.removeEventListener('mousedown', ionic.activator.start);
|
||||
document.body.addEventListener('touchmove', clear, false);
|
||||
setTimeout(activateElements, 85);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user