Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
W3CPointerEvents: fix unintentional shallow copy of coordinates (#38201)
Summary: Pull Request resolved: #38201 Changelog: [Android] [Internal] - W3CPointerEvents: fix unintentional shallow copy of coordinates When normalizing pointer event state, we previously only made a shallow copy and thus unintentionally modified the coordinate values in the original event state. This change fixes the issue by creating new coordinate arrays for the normalized event state instead of reusing the existing ones. Reviewed By: javache Differential Revision: D47230953 fbshipit-source-id: b29118c1ec32cd80fc0f05b2a55f283ef060f244
- Loading branch information