-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native exceptions when manipulating ART children without a surface #3815
Comments
@facebook-github-bot label Good First Task |
Hi there! This issue is being closed because it has been inactive for a while. But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/native-exceptions-when-manipulating-art-children-without-a-surface ProductPains helps the community prioritize the most important issues thanks to its voting feature. Also, if this issue is a bug, please consider sending a pull request with a fix. |
Summary: Fixes #3815 Differential Revision: D4295976 Pulled By: javache fbshipit-source-id: 034690d3bee75217d820d3361136a410a812cd2c
Summary: Fixes #3815 Differential Revision: D4295976 Pulled By: javache fbshipit-source-id: 034690d3bee75217d820d3361136a410a812cd2c
Summary: Fixes facebook#3815 Differential Revision: D4295976 Pulled By: javache fbshipit-source-id: 034690d3bee75217d820d3361136a410a812cd2c
Rendering this component throws a cryptic error on the native side because every ART Group should be mounted in a Surface and it gets confused.
We should probably throw an error earlier for this case. One way to do it would be to use context to pass down some flag from the Surface and throw if it's not present in the other components.
The text was updated successfully, but these errors were encountered: