MOBILE-3320 core: Do not auto navigate when is a nested view
parent
4f61f5619f
commit
23f2c2ddaf
|
@ -66,7 +66,7 @@ export abstract class CorePageItemsListManager<Item> {
|
||||||
this.updateSelectedItem(route?.snapshot ?? null);
|
this.updateSelectedItem(route?.snapshot ?? null);
|
||||||
|
|
||||||
// Select default item if none is selected on a non-mobile layout.
|
// Select default item if none is selected on a non-mobile layout.
|
||||||
if (!CoreScreen.isMobile && this.selectedItem === null) {
|
if (!CoreScreen.isMobile && this.selectedItem === null && !splitView.isNested) {
|
||||||
const defaultItem = this.getDefaultItem();
|
const defaultItem = this.getDefaultItem();
|
||||||
|
|
||||||
if (defaultItem) {
|
if (defaultItem) {
|
||||||
|
|
Loading…
Reference in New Issue