Skip to content

Commit a8d44bc

Browse files
zeyapmeta-codesync[bot]
authored andcommitted
unbreak ViewTransition fantom tests
Summary: ## Changelog: [Internal] [Fixed] - unbreak ViewTransition fantom tests this gets broken after my recent changes to viewtransition runtime Reviewed By: NickGerleman Differential Revision: D101224031 fbshipit-source-id: ecef6d4ea73635a6416a1febf9c44b9ecfef0f22
1 parent 58fec1f commit a8d44bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactCommon/react/renderer/viewtransition/ViewTransitionModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ ViewTransitionModule::getViewTransitionInstance(
455455
auto pseudoElementIt = oldPseudoElementNodes_.find(name);
456456
auto nativeTag = pseudoElementIt != oldPseudoElementNodes_.end()
457457
? pseudoElementIt->second->getTag()
458-
: view.tag;
458+
: -1;
459459
return ViewTransitionInstance{
460460
.x = view.layoutMetrics.originFromRoot.x,
461461
.y = view.layoutMetrics.originFromRoot.y,

0 commit comments

Comments
 (0)