Skip to content

Commit

Permalink
Fixed #4693 - OverlayPanel: closeOnEscape broken
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 25, 2023
1 parent 4d0b364 commit b0fa143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/overlaypanel/OverlayPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default {
}
},
onKeyDown(event) {
if (event.code === 'Escape' && this.closeOnEscape) {
if (event.code === 'Escape' || this.closeOnEscape) {
this.visible = false;
}
},
Expand Down

0 comments on commit b0fa143

Please sign in to comment.