fix(react): correctly show ion-back-button when going back (#23069)

resolves #22692
This commit is contained in:
Liam DeBeasi
2021-03-22 16:11:45 -04:00
committed by GitHub
parent b04fb6e849
commit 1c93b75e39
3 changed files with 23 additions and 2 deletions

View File

@ -194,7 +194,7 @@ export class StackManager extends React.PureComponent<StackManagerProps, StackMa
deepWait: true,
duration: direction === undefined ? 0 : undefined,
direction: direction as any,
showGoBack: direction === 'forward',
showGoBack: !!routeInfo.pushedByRoute,
progressAnimation: false,
animationBuilder: routeInfo.routeAnimation,
});