We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b38ca2 commit eb4490eCopy full SHA for eb4490e
packages/react-reconciler/src/ReactFiberCompleteWork.js
@@ -342,6 +342,10 @@ function appendAllChildrenToContainer(
342
needsVisibilityToggle: boolean,
343
isHidden: boolean,
344
): boolean {
345
+ // Host components that have their visibility toggled by an OffscreenComponent
346
+ // do not support passChildrenWhenCloningPersistedNodes. To inform the callee
347
+ // about their presence, we track and return if they were added to the
348
+ // child set.
349
let hasOffscreenComponentChild = false;
350
if (supportsPersistence) {
351
// We only have the top Fiber that was created but we need recurse down its
0 commit comments