Update dropdown.vue
It is recommended to turn off scroll event monitoring for popper plug-in configuration, otherwise, if there are too many such components in a single page, the scroll bar of the page will be severely stuck; in fact, it only needs to be updated when the pop-up layer is displayed, and it does not need to be invisible or to update the position.
This commit is contained in:
parent
edd93e3116
commit
cd50fbddd8
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
} else {
|
||||
this.$nextTick(() => {
|
||||
this.popper = new Popper(this.$parent.$refs.reference, this.$el, {
|
||||
eventsEnabled: false,
|
||||
placement: this.placement,
|
||||
modifiers: {
|
||||
computeStyle:{
|
||||
|
|
Loading…
Add table
Reference in a new issue