Skip to content

Commit

Permalink
fix(drag-drop): avoid interfering with element clicks
Browse files Browse the repository at this point in the history
Resolves a long-standing TODO about starting the drag&drop sequence after the user has dragged over a certain amount of pixels, rather than starting it immediately on `mousedown`/`touchstart`. This prevents random clicks and taps on the element from being interpreted as dragging and avoids potentially interrupting the native click events on children of `CdkDrag`.
  • Loading branch information
crisbeto committed Sep 16, 2018
1 parent 9ab2c90 commit ec36d42
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 151 deletions.
Loading

0 comments on commit ec36d42

Please sign in to comment.