mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Jeremy Elbourn
parent
80186c144f
commit
b09465cda7
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user