From cd50fbddd806cf2800e19ff3fb1097b763238e98 Mon Sep 17 00:00:00 2001 From: webpack Date: Tue, 21 Jul 2020 11:18:14 +0800 Subject: [PATCH] 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. --- src/components/select/dropdown.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/select/dropdown.vue b/src/components/select/dropdown.vue index c36bb286..0e486d3e 100644 --- a/src/components/select/dropdown.vue +++ b/src/components/select/dropdown.vue @@ -52,6 +52,7 @@ } else { this.$nextTick(() => { this.popper = new Popper(this.$parent.$refs.reference, this.$el, { + eventsEnabled: false, placement: this.placement, modifiers: { computeStyle:{