Merge pull request #5827 from sruthyqb/fix--tiered-menu-popup-not-closing-on-escape
fix: tiered menu popup not closing on escapepull/5858/head
commit
a3782c715b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue