Popover: fix the arrow appears, fixed #412

pull/442/head
qingwei.li 2016-10-17 10:18:25 +08:00
parent a759aaf500
commit 955417e6cb
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ export default {
this.popperJS.onCreate(_ => { this.popperJS.onCreate(_ => {
this.$emit('created', this); this.$emit('created', this);
this.resetTransformOrigin(); this.resetTransformOrigin();
this.$nextTick(this.updatePopper);
}); });
this.popperJS._popper.style.zIndex = PopupManager.nextZIndex(); this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();
}, },