mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
23d2a6248c
Summary: It's not fully clear why it happens but sometimes UIKit cancels (calling some UIGersureRecognizer interface) some UITouch events that seem never previously started. That might be a bug in UIKit or in our local registry. That happens extremely rarely but happens. After this change, RCTSurfaceTouchHandler will ignore those touches in production but crash in debug mode (I hope we can find a repro case and fix it). Anyway, ignoring canceling of touches that RCTSurfaceTouchHandler is not aware of should not be a big deal. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D19221204 fbshipit-source-id: 77ce773f7bcc31725bf90a182a91789fd5deeedb