From d60b8b5df12a7d2b85e3983046035c5eb3a42083 Mon Sep 17 00:00:00 2001 From: Roland Steinegger Date: Tue, 20 Jul 2021 11:51:08 +0200 Subject: [PATCH] Adds custom target for OverlayPanel #942 --- src/components/overlaypanel/OverlayPanel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/overlaypanel/OverlayPanel.vue b/src/components/overlaypanel/OverlayPanel.vue index 947fd5c088..722976416b 100755 --- a/src/components/overlaypanel/OverlayPanel.vue +++ b/src/components/overlaypanel/OverlayPanel.vue @@ -100,9 +100,9 @@ export default { else this.show(event); }, - show(event) { + show(event, target) { this.visible = true; - this.target = event.currentTarget; + this.target = target || event.currentTarget; }, hide() { this.visible = false;