mirror of
https://github.com/status-im/react-native.git
synced 2025-02-20 21:28:08 +00:00
Summary: In D8515300 we used the uiManagerType to call the setJSResponder method in UIImplementation or FabricUIManager. There is a small chance that one of the reactTags received by parameter belongs to a View that is not managed by ReactNative, in that case we could be try to use FabricUIManager from UIManagerModule when Fabric is not running yet, causing a RN crash. The fix consists in keep calling the UIImplementation.setJSResponder() method for any reactTag, and then perform a NOOP if the ReactShadowNode can not be found. Reviewed By: fkgozali Differential Revision: D8518192 fbshipit-source-id: 954fdd5dbed758ef73c16dad7da6b59ed83fe46a