Update Dropdown.vue

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-23 12:40:12 +03:00
parent 811fe1cde3
commit 4549601532

View file

@ -445,7 +445,7 @@ export default {
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;
} else if (!this.overlay || !this.overlay.contains(event.target)) {
this.overlayVisible ? this.hide(true) : this.show(true);