Refactor #3832 - For TreeSelect

pull/3976/head
Tuğçe Küçükoğlu 2023-04-17 15:19:26 +03:00
parent 082ea246a1
commit 618ad5333f
1 changed files with 2 additions and 2 deletions

View File

@ -340,9 +340,9 @@ export default {
this.outsideClickListener = (event) => {
if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event)) {
this.hide();
}
this.selfClick = false;
}
};
document.addEventListener('click', this.outsideClickListener);