You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to navigate back from detail page to master --> exception is logged in console and nothing happens
Explanation: Essentially the current setup means we are in a scenario with nested page-router-outlet instances -- this translated in {N} core framework terms means that we are in a scenario with nested frames). In {N} core framework we generally discourage the usage of frameModule.topmost() in a scenario with tabview and nested frames but in this case our own location strategy implementation relies on the correct ordering of the nested frames in the frame stack to retrieve page router outlet. However, on app suspend/resume we are not restoring the proper ordering of the nested frames in the frame stack thus frameModule.topmost() points to a parent frame while it should point to its existing child (nested) frame.
Update: issue is reproducible in iOS too when using the RouterExtensions.back() method.
Back navigation is broken in a scenario demonstrated by the tab navigation ng template with lazy loaded modules (see https://github.com/NativeScript/template-tab-navigation-ng/pull/85):
Explanation: Essentially the current setup means we are in a scenario with nested page-router-outlet instances -- this translated in {N} core framework terms means that we are in a scenario with nested frames). In {N} core framework we generally discourage the usage of frameModule.topmost() in a scenario with tabview and nested frames but in this case our own location strategy implementation relies on the correct ordering of the nested frames in the frame stack to retrieve page router outlet. However, on app suspend/resume we are not restoring the proper ordering of the nested frames in the frame stack thus frameModule.topmost() points to a parent frame while it should point to its existing child (nested) frame.
Update: issue is reproducible in iOS too when using the RouterExtensions.back() method.