Fixed #4693 - OverlayPanel: closeOnEscape broken

pull/4696/head
tugcekucukoglu 2023-10-25 18:27:30 +03:00
parent 4d0b3645c8
commit b0fa143adb
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ export default {
}
},
onKeyDown(event) {
if (event.code === 'Escape' && this.closeOnEscape) {
if (event.code === 'Escape' || this.closeOnEscape) {
this.visible = false;
}
},