SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 154 C++

Fix ModalHostView's inner view not having the correct reactTag (#46176)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46176

Noticed that ModalHostView's event dispatching would sometimes fallback to RCTEventEmitter, which is not supported in the new architecture. Instead, we should propagate the reactTag to the inner content view so we can correctly associate the right UIManager and host component with events emitted.

Changelog: [Android][Fixed] PointerEvents from Modal would not be dispatched correctly in new architecture.

Reviewed By: bvanderhoof

Differential Revision: D61671005

fbshipit-source-id: 6aad1ff609da81cf5e8f71c4e91be30713494679
P
Pieter De Baets committed
75114e36726979625674b2c75a77ac330fccc4d6
Parent: bb3c51d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/22/2024, 10:16:24 PM