File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/base/tests/e2e/specs Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,8 +207,6 @@ export class StackManager extends React.PureComponent<StackManagerProps> {
207207 }
208208
209209 if ( routeInfo . routeAction === 'replace' ) {
210- // For replace actions, decide whether to unmount the leaving view.
211- // The key question is: are these routes in the same navigation context?
212210 const enteringRoutePath = enteringViewItem ?. reactElement ?. props ?. path as string | undefined ;
213211 const leavingRoutePath = leavingViewItem ?. reactElement ?. props ?. path as string | undefined ;
214212
Original file line number Diff line number Diff line change 11/**
22 * Verifies that when view content changes (causing IonPage to remount)
33 * while navigation is happening, the correct view is displayed.
4+ *
5+ * @see https://github.com/ionic-team/ionic-framework/issues/28878
46 */
57
68const port = 3000 ;
79
8- describe ( 'Content Change Navigation Tests (Issue #28878) ' , ( ) => {
10+ describe ( 'Content Change Navigation Tests' , ( ) => {
911 it ( 'should navigate to list page correctly' , ( ) => {
1012 cy . visit ( `http://localhost:${ port } /content-change-navigation` ) ;
1113 cy . ionPageVisible ( 'content-nav-home' ) ;
You can’t perform that action at this time.
0 commit comments