How to tell Yoga to update layout from native Fabric component size #1789
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've been trying to build a fabric native component and have it layout without requiring manual sizing from react, but I'm not able to find example or solution for this problem. I tried manually updating the frame of the contentView, but yoga seems to ignore it. React will render it, but next elements position will be 0,0.
Take this example for example https://github.com/reactwg/react-native-new-architecture/blob/main/docs/fabric-native-components.md, how would one modify it to not have a specific height in react and instead infer it from its children sizing ?