From 23f2c2ddaf9f3420c1eb40cc98f5999e3719a68c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 12 Jul 2021 13:15:33 +0200 Subject: [PATCH] MOBILE-3320 core: Do not auto navigate when is a nested view --- src/core/classes/page-items-list-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/classes/page-items-list-manager.ts b/src/core/classes/page-items-list-manager.ts index bd374577a..b2025e104 100644 --- a/src/core/classes/page-items-list-manager.ts +++ b/src/core/classes/page-items-list-manager.ts @@ -66,7 +66,7 @@ export abstract class CorePageItemsListManager { this.updateSelectedItem(route?.snapshot ?? null); // 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(); if (defaultItem) {