MOBILE-3320 core: Do not auto navigate when is a nested view

main
Pau Ferrer Ocaña 2021-07-12 13:15:33 +02:00
parent 4f61f5619f
commit 23f2c2ddaf
1 changed files with 1 additions and 1 deletions

View File

@ -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) {