Fixed #62 - Menu and OverlayPanel target position miscalculated
parent
42946e8afe
commit
582eae02ff
|
@ -75,7 +75,7 @@ export default {
|
||||||
},
|
},
|
||||||
show(event) {
|
show(event) {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.target = event.target;
|
this.target = event.currentTarget;
|
||||||
},
|
},
|
||||||
hide() {
|
hide() {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
|
|
|
@ -59,7 +59,7 @@ export default {
|
||||||
},
|
},
|
||||||
show(event) {
|
show(event) {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.target = event.target;
|
this.target = event.currentTarget;
|
||||||
},
|
},
|
||||||
hide() {
|
hide() {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
|
|
Loading…
Reference in New Issue