From bd52f3ce3460c403bf6a79046f9c4e19b2462b6e Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 6 Feb 2020 15:01:25 +0300 Subject: [PATCH] Fixed #187 - OverlayPanel dismissable does not work --- src/components/overlaypanel/OverlayPanel.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/overlaypanel/OverlayPanel.vue b/src/components/overlaypanel/OverlayPanel.vue index b96df127f..3ea51838b 100644 --- a/src/components/overlaypanel/OverlayPanel.vue +++ b/src/components/overlaypanel/OverlayPanel.vue @@ -74,7 +74,10 @@ export default { onEnter() { this.appendContainer(); this.alignOverlay(); - this.bindOutsideClickListener(); + if (this.dismissable) { + this.bindOutsideClickListener(); + } + this.bindResizeListener(); if (this.autoZIndex) {