Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Stop throwing error when PointerEvent.pageX is 0. (google#5727)
The e.pageX (and .pageY) checks aren't strict enough. 0 is a perfectly valid coordinate. Checking for the existence of changedTouches is an easier way to distinguish a PointerEvent from a TouchEvent.
- Loading branch information