We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f94010 commit ff9933fCopy full SHA for ff9933f
src/jigsaw/component/select/select.ts
@@ -117,7 +117,11 @@ export class JigsawSelect extends AbstractJigsawComponent implements ControlValu
117
if (this._$optionListHidden) {
118
this._documentListen();
119
} else {
120
- this._documentListen = this._renderer.listen('document', 'click', () => this._$optionListHidden = true);
+ this._documentListen = this._renderer.listen('document', 'click', () => {
121
+ this._$optionListHidden = true;
122
+ this._documentListen();
123
+ this._documentListen = null;
124
+ });
125
}
126
127
0 commit comments