mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
Fabric: Proper invocation of ensureunsealed
in LayoutableShadowNode::layout
Summary: Quite obvious. We have to check `sealable` flag of the child (not a parent) before mutating it. Reviewed By: mdvacca Differential Revision: D7526407 fbshipit-source-id: ce8e0d6446ff7eb23baee9c92f246d5e198fe377
This commit is contained in:
parent
cf036ee2fa
commit
db92b16e04
@ -69,7 +69,7 @@ void LayoutableShadowNode::layout(LayoutContext layoutContext) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ensureUnsealed();
|
||||
child->ensureUnsealed();
|
||||
|
||||
// The assumption:
|
||||
// All `sealed` children were replaced with not-yet-sealed clones
|
||||
|
Loading…
x
Reference in New Issue
Block a user