Merge pull request #5827 from sruthyqb/fix--tiered-menu-popup-not-closing-on-escape

fix: tiered menu popup not closing on escape
pull/5858/head
Tuğçe Küçükoğlu 2024-06-07 15:53:32 +03:00 committed by GitHub
commit a3782c715b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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