Fix removal of ReactShadowNode
Reviewed By: achen1 Differential Revision: D7323294 fbshipit-source-id: 411aa1bcd93cc4f9df78f64ceb0c0d8c127bc3b0
This commit is contained in:
parent
cc3d45d2e9
commit
5347ecfd29
|
@ -103,6 +103,9 @@ public class FabricReconciler {
|
|||
indicesToRemove[indicesToRemoveIndex++] = j;
|
||||
if (!addedTags.contains(nodeToRemove.getReactTag())) {
|
||||
tagsToDelete.add(nodeToRemove.getReactTag());
|
||||
// TODO: T26729293 since we are not cloning ReactShadowNode's we need to "manually" remove
|
||||
// from the ReactShadowTree when one of the nodes is deleted in JS.
|
||||
nodeToRemove.getParent().removeChildAt(j);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue