diff --git a/src/components/menu/Menu.vue b/src/components/menu/Menu.vue index be94d6e74..2a1e0db9c 100644 --- a/src/components/menu/Menu.vue +++ b/src/components/menu/Menu.vue @@ -75,7 +75,7 @@ export default { }, show(event) { this.visible = true; - this.target = event.target; + this.target = event.currentTarget; }, hide() { this.visible = false; diff --git a/src/components/overlaypanel/OverlayPanel.vue b/src/components/overlaypanel/OverlayPanel.vue index 5bb3b2702..33e16faf7 100644 --- a/src/components/overlaypanel/OverlayPanel.vue +++ b/src/components/overlaypanel/OverlayPanel.vue @@ -59,7 +59,7 @@ export default { }, show(event) { this.visible = true; - this.target = event.target; + this.target = event.currentTarget; }, hide() { this.visible = false;