From 3ca2358f085b4a357d3d885c8cf200b26fcba82d Mon Sep 17 00:00:00 2001 From: sruthyqb <151607947+sruthyqb@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:33:28 +0530 Subject: [PATCH] fixes tiered menu popup not closing on escape --- components/lib/tieredmenu/TieredMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/tieredmenu/TieredMenu.vue b/components/lib/tieredmenu/TieredMenu.vue index 1b4cb52d1..cb3d20880 100755 --- a/components/lib/tieredmenu/TieredMenu.vue +++ b/components/lib/tieredmenu/TieredMenu.vue @@ -383,7 +383,7 @@ export default { this.onEnterKey(event); }, onEscapeKey(event) { - if (this.focusedItemInfo.level !== 0) { + if (this.popup || this.focusedItemInfo.level !== 0) { const _focusedItemInfo = this.focusedItemInfo; this.hide(event, false);