Skip to content

Commit

Permalink
fix(gestures): don't clobber native drag events (#1458)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
taffeldt authored and jelbourn committed Oct 19, 2016
1 parent 80186c1 commit b09465c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/core/gestures/MdGestureConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b09465c

Please sign in to comment.