Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(drag-drop): use narrower check for touch events (angular#16082)
We use the `isTouchEvent` any time we need to normalize something between touch and mouse events which happens for every pixel that the user has dragged. These changes switch to using direct comparison, rather than `startsWith`, which should be slightly faster since there's a narrow set of touch event types.
- Loading branch information