react-native
react-native copied to clipboard
only trigger RCTContentDidAppearNotification when content appears
Summary: changelog: [internal]
Notification RCTContentDidAppearNotification was posted too early in RCTSurfaceHostingProxyRootView, which does not know when views are mounted. It was also posted if no views were mounted, leading to inconsistent behaviour between Paper and Fabric.
The implementation is aligned with Paper: https://github.com/facebook/react-native/blob/main/packages/react-native/React/Base/RCTRootContentView.m#L45-L55
Differential Revision: D55640654
This pull request was exported from Phabricator. Differential Revision: D55640654
This pull request has been merged in facebook/react-native@c7d9571d6acbbeea1689934d6036864238eff656.
This pull request was successfully merged by @sammy-SC in c7d9571d6acbbeea1689934d6036864238eff656.
When will my fix make it into a release? | How to file a pick request?