MOBILE-3320 mainmenu: Fix go back to root before confirming

main
Dani Palou 2021-05-13 08:47:57 +02:00
parent f5098a770c
commit aaa300266b
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ export class CoreMainMenuPage implements OnInit, OnDestroy {
// Ask the user if he wants to go back to the root page of the tab. // Ask the user if he wants to go back to the root page of the tab.
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
e.stopImmediatePropagation();
try { try {
const tab = this.tabs.find((tab) => tab.page == page); const tab = this.tabs.find((tab) => tab.page == page);