Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conflicting assertions for click events (#46633)
Summary: Pull Request resolved: #46633 There is an assertion in the "basic click test" that [checks](https://github.com/facebook/react-native/blob/d6e0bc7/packages/rn-tester/js/examples/Experimental/W3CPointerEventPlatformTests/PointerEventClickTouch.js#L36-L40) that `isPrimary` is set to false. The same assertion suite also does a mouse event [validation](https://github.com/facebook/react-native/blob/d6e0bc7/packages/rn-tester/js/examples/Experimental/W3CPointerEventPlatformTests/PointerEventSupport.js#L201-L204) that `isPrimary` is set to true. This fixes the conflicting assertions, favoring the behavior observed on Firefox, which appears to be more closely aligned with the W3C spec. ## Changelog [General][Fixed] Fixed issues with W3C PointerEvents testsx Reviewed By: vincentriemer Differential Revision: D63336622 fbshipit-source-id: adbfe5e1bc2a5fd7db18ae067f39e719c19c8cda
- Loading branch information