Skip to content

Commit edde1d1

Browse files
committed
fix: fixed no transition on initial route
1 parent b01ddb1 commit edde1d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SharedElementRendererData.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export default class SharedElementRendererData
8989

9090
didActivateScene(sceneData: SharedElementSceneData, route: Route): void {
9191
//console.log('didActivateScene, route: ', route.key);
92+
this.route = route;
9293
this.prevRoute = null;
9394
this.registerScene(sceneData, route);
9495
}

0 commit comments

Comments
 (0)