From b09465cda7cf8c74a5c903ee49d0366d644643d4 Mon Sep 17 00:00:00 2001 From: Till Affeldt Date: Wed, 19 Oct 2016 17:22:41 +0200 Subject: [PATCH] fix(gestures): don't clobber native drag events (#1458) 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',