Update Dropdown.vue

pull/3997/head
Tuğçe Küçükoğlu 2023-05-23 12:40:12 +03:00
parent 811fe1cde3
commit 4549601532
1 changed files with 1 additions and 1 deletions

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);