forked from angular/material
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gestures): detect touch action and provide polyfill.
* On non-android browsers, touchmove events were cancelled and native scroll was disabled as well. * touchAction is supported by the most modern-browsers and drops the cancellation of the touchmove event * If touchAction is not supported, then we're able to use the polyfill (cancelling the touchMove event) Fixes angular#7856
- Loading branch information
1 parent
f6cf82d
commit 7da7628
Showing
1 changed file
with
37 additions
and
5 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