Refactor #3832 - For TreeSelect

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-17 15:19:26 +03:00
parent 082ea246a1
commit 618ad5333f

View file

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