diff --git a/components/lib/overlaypanel/OverlayPanel.vue b/components/lib/overlaypanel/OverlayPanel.vue index 7d9e04edf..b25749a80 100755 --- a/components/lib/overlaypanel/OverlayPanel.vue +++ b/components/lib/overlaypanel/OverlayPanel.vue @@ -168,7 +168,7 @@ export default { } }, onContentKeydown(event) { - if (event.code === 'Escape') { + if (event.code === 'Escape' && this.closeOnEscape) { this.hide(); DomHandler.focus(this.target); }