Skip to content

Commit b09465c

Browse files
taffeldtjelbourn
authored andcommitted
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.
1 parent 80186c1 commit b09465c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/core/gestures/MdGestureConfig.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export class MdGestureConfig extends HammerGestureConfig {
88
/* List of new event names to add to the gesture support list */
99
events: string[] = [
1010
'drag',
11-
'dragstart',
12-
'dragend',
1311
'dragright',
1412
'dragleft',
1513
'longpress',

0 commit comments

Comments
 (0)