Reset child position/sizes before calculating layout #178
Reference in New Issue
Block a user
No description provided.
Delete Branch "node-layout-reset"
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?
For consistency with the other native versions, we should do layout reset inline with the
layoutNode
calculation, sincelayoutNode
can potentially be invoked multiple times.I'll need to remove/update the custom reset logic in React Native to make use of this when merging in that project.
This fixes #175.
Test plan: I added a new test in
Layout-test.js
, which passed the JS and Java version but failed in the C version. After my changes the C version also passes.Looks good to me! Sorry for the trouble
Thanks, removed the typos.
Great, thanks for fixing this!