Skip to content

Commit 92d3c11

Browse files
committed
Wrap Popover reposition in nextTick
1 parent f29bc3a commit 92d3c11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/components/popover.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@
259259
*/
260260
refreshPosition() {
261261
if (this.showState === true) {
262-
this._tether.position();
262+
this.$nextTick(() => {
263+
this._tether.position();
264+
});
263265
}
264266
},
265267

0 commit comments

Comments
 (0)