From aaa81d77120af82feb3649fb374081813c6dedab Mon Sep 17 00:00:00 2001 From: Till Affeldt Date: Sun, 9 Oct 2016 18:22:43 +0200 Subject: [PATCH] Compatability with drag&drop API Remove dragstart and dragend from Hammer.js config so they don't override native HTML5 drag&drop API. drag event unused right now except for one demo. dragstart and dragend not used at all, should be removed. Eventually, their features can be accessed via drag event anyway. --- src/lib/core/gestures/MdGestureConfig.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/core/gestures/MdGestureConfig.ts b/src/lib/core/gestures/MdGestureConfig.ts index fa4cb30840c5..2e4d640a617b 100644 --- a/src/lib/core/gestures/MdGestureConfig.ts +++ b/src/lib/core/gestures/MdGestureConfig.ts @@ -8,8 +8,6 @@ export class MdGestureConfig extends HammerGestureConfig { /* List of new event names to add to the gesture support list */ events: string[] = [ 'drag', - 'dragstart', - 'dragend', 'dragright', 'dragleft', 'longpress',