mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: When analyzing the `hitTest:withEvent` function, I realized that we were not forwarding the touches to the legacy view. The previous algorithm was returning the InteropLegacyWrapper view itself when the touches were happening in the legacy view, preventing the handlers attached to the legacy view to fire. With this change, if the legacy view receives a touch, it can handle it. ## Changelog [iOS][Fixed] - Make sure to forward touches to the wrapped component in the InteropLayer. Reviewed By: sammy-SC Differential Revision: D53806218 fbshipit-source-id: 87b0aa6e900935092e6f5e1533b871c1d224b718