update popper
This commit is contained in:
parent
586bf3fc1b
commit
e8139eac58
2 changed files with 17 additions and 2 deletions
|
@ -33,6 +33,12 @@ export default {
|
|||
computeStyle:{
|
||||
gpuAcceleration: false,
|
||||
}
|
||||
},
|
||||
preventOverflow :{
|
||||
boundariesElement: 'body',
|
||||
},
|
||||
flip :{
|
||||
boundariesElement: 'body',
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -84,10 +90,10 @@ export default {
|
|||
|
||||
options.placement = this.placement;
|
||||
|
||||
if (options.modifiers) {
|
||||
if (!options.modifiers) {
|
||||
options.modifiers = {};
|
||||
}
|
||||
if (options.modifiers.offset) {
|
||||
if (!options.modifiers.offset) {
|
||||
options.modifiers.offset = {};
|
||||
}
|
||||
options.modifiers.offset = this.offset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue