Fixed #4693 - OverlayPanel: closeOnEscape broken
parent
4d0b3645c8
commit
b0fa143adb
|
@ -192,7 +192,7 @@ export default {
|
|||
}
|
||||
},
|
||||
onKeyDown(event) {
|
||||
if (event.code === 'Escape' && this.closeOnEscape) {
|
||||
if (event.code === 'Escape' || this.closeOnEscape) {
|
||||
this.visible = false;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue