diff --git a/src/State.js b/src/State.js index fe5776baa..b8be2a2b2 100644 --- a/src/State.js +++ b/src/State.js @@ -42,7 +42,7 @@ export function getInitialState( return { ...scenes.rootProps, ...route, - key: `position_${route.sceneKey}`, + key: `${position}_${route.sceneKey}`, ...parentProps, ...getStateFromScenes(route, scenes, props), };