-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cdk/drag-drop): not blocking initial move event (#21752)
In #21382 the `preventDefault` call was moved further down so it doesn't prevent events until the dragging threshold has been reached. The problem is that it'll only start calling `preventDefault` from the first event __after__ the threshold has been reached which can be enough time for the device to start scrolling. These changes add an extra call as soon as dragging has been considered as "started". Fixes #21749. (cherry picked from commit 060ab9e)
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters