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 a5b9750 commit f44fe9cCopy full SHA for f44fe9c
ios/RNSScreenStack.mm
@@ -1234,6 +1234,9 @@ - (void)mountingTransactionDidMount:(const facebook::react::MountingTransaction
1234
withSurfaceTelemetry:(const facebook::react::SurfaceTelemetry &)surfaceTelemetry
1235
{
1236
for (const auto &mutation : transaction.getMutations()) {
1237
+ // Note that self.tag might be invalid in cases this stack is removed.
1238
+ // This mostlikely does not cause any problems now, but it is something
1239
+ // worth to be aware of.
1240
if (MUTATION_PARENT_TAG(mutation) == self.tag &&
1241
(mutation.type == react::ShadowViewMutation::Type::Insert ||
1242
mutation.type == react::ShadowViewMutation::Type::Remove)) {
0 commit comments