fixes tiered menu popup not closing on escape

pull/5827/head
sruthyqb 2024-06-04 12:33:28 +05:30 committed by GitHub
parent 401dd22567
commit 3ca2358f08
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);