mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
This commit is contained in:
@ -154,7 +154,7 @@ export class RouteManager extends React.Component<RouteManagerProps, RouteManage
|
|||||||
* record the view that originally directed to the new view for back button purposes.
|
* record the view that originally directed to the new view for back button purposes.
|
||||||
*/
|
*/
|
||||||
enteringView.prevId = leavingView.id;
|
enteringView.prevId = leavingView.id;
|
||||||
} else {
|
} else if (direction !== 'none') {
|
||||||
leavingView.mount = false;
|
leavingView.mount = false;
|
||||||
this.removeOrphanedViews(enteringView, enteringViewStack);
|
this.removeOrphanedViews(enteringView, enteringViewStack);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user