Update Dropdown.vue
parent
811fe1cde3
commit
4549601532
|
@ -445,7 +445,7 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((this.$refs.clearIcon && this.$refs.clearIcon.$el.isSameNode(event.target)) || event.target.tagName === 'INPUT') {
|
if ((this.$refs.clearIcon && this.$refs.clearIcon.isSameNode(event.target)) || event.target.tagName === 'INPUT') {
|
||||||
return;
|
return;
|
||||||
} else if (!this.overlay || !this.overlay.contains(event.target)) {
|
} else if (!this.overlay || !this.overlay.contains(event.target)) {
|
||||||
this.overlayVisible ? this.hide(true) : this.show(true);
|
this.overlayVisible ? this.hide(true) : this.show(true);
|
||||||
|
|
Loading…
Reference in New Issue