Fixed #258 - Popup menu does not appear where it should

pull/310/head
cagataycivici 2020-04-07 11:42:25 +03:00
parent 8e9fc0f22e
commit c15d8f7cee
1 changed files with 1 additions and 4 deletions

View File

@ -98,10 +98,7 @@ export default {
this.unbindResizeListener(); this.unbindResizeListener();
}, },
alignOverlay() { alignOverlay() {
if (this.appendTo)
DomHandler.absolutePosition(this.$refs.container, this.target); DomHandler.absolutePosition(this.$refs.container, this.target);
else
DomHandler.relativePosition(this.$refs.container, this.target);
}, },
bindOutsideClickListener() { bindOutsideClickListener() {
if (!this.outsideClickListener) { if (!this.outsideClickListener) {