diff --git a/src/utils/vue-popper.js b/src/utils/vue-popper.js index ca35df92b1c..47e925bfc25 100644 --- a/src/utils/vue-popper.js +++ b/src/utils/vue-popper.js @@ -105,6 +105,9 @@ export default { options.offset = this.offset; options.arrowOffset = this.arrowOffset; this.popperJS = new PopperJS(reference, popper, options); + if (this.appendToBody) { + this.popperJS.state.position = 'fixed'; + } this.popperJS.onCreate(_ => { this.$emit('created', this); this.resetTransformOrigin();