mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #3832 - For TreeSelect
This commit is contained in:
parent
082ea246a1
commit
618ad5333f
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue