diff --git a/src/components/auto-complete/auto-complete.vue b/src/components/auto-complete/auto-complete.vue index 2462f1b9..dc236f25 100644 --- a/src/components/auto-complete/auto-complete.vue +++ b/src/components/auto-complete/auto-complete.vue @@ -18,6 +18,7 @@ @on-clickoutside="handleClickOutside" :transfer="transfer" :capture="capture" + :eventsEnabled="eventsEnabled" > @@ -152,6 +153,11 @@ }, transferClassName: { type: String + }, + // 4.6.0 + eventsEnabled: { + type: Boolean, + default: false } }, data () { diff --git a/src/components/color-picker/color-picker.vue b/src/components/color-picker/color-picker.vue index 317c970d..9769d499 100644 --- a/src/components/color-picker/color-picker.vue +++ b/src/components/color-picker/color-picker.vue @@ -41,6 +41,7 @@ :data-transfer="transfer" :transfer="transfer" :class="dropClasses" + :eventsEnabled="eventsEnabled" >
@@ -223,6 +224,11 @@ }, transferClassName: { type: String + }, + // 4.6.0 + eventsEnabled: { + type: Boolean, + default: false } }, data(){ diff --git a/src/components/dropdown/dropdown.vue b/src/components/dropdown/dropdown.vue index e51e1614..5427d68e 100644 --- a/src/components/dropdown/dropdown.vue +++ b/src/components/dropdown/dropdown.vue @@ -13,6 +13,7 @@ ref="drop" @mouseenter.native="handleMouseenter" @mouseleave.native="handleMouseleave" + :eventsEnabled="eventsEnabled" :data-transfer="transfer" :transfer="transfer" v-transfer-dom> @@ -67,6 +68,11 @@ default () { return !this.$IVIEW ? true : this.$IVIEW.capture; } + }, + // 4.6.0 + eventsEnabled: { + type: Boolean, + default: false } }, computed: { diff --git a/src/components/select/dropdown.vue b/src/components/select/dropdown.vue index 62c91925..41b70bce 100644 --- a/src/components/select/dropdown.vue +++ b/src/components/select/dropdown.vue @@ -21,6 +21,11 @@ }, transfer: { type: Boolean + }, + // 4.6.0 + eventsEnabled: { + type: Boolean, + default: false } }, data () { @@ -50,7 +55,7 @@ this.popperStatus = true; } else { this.popper = new Popper(this.$parent.$refs.reference, this.$el, { - eventsEnabled: false, + eventsEnabled: this.eventsEnabled, placement: this.placement, modifiers: { computeStyle:{ diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 69fc40d2..16393da1 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -63,6 +63,7 @@ :data-transfer="transfer" :transfer="transfer" v-transfer-dom + :eventsEnabled="eventsEnabled" >
  • {{ localeNotFoundText }}
@@ -290,6 +291,11 @@ filterByLabel: { type: Boolean, default: false + }, + // 4.6.0 + eventsEnabled: { + type: Boolean, + default: false } }, mounted(){