diff --git a/src/components/SelectInput/index.ts b/src/components/SelectInput/index.ts index 48d7f709..c917b85c 100644 --- a/src/components/SelectInput/index.ts +++ b/src/components/SelectInput/index.ts @@ -725,7 +725,7 @@ class SelectInput extends Element implements IBindable, IFocusable { }; protected _onWindowMouseDown = (evt: MouseEvent) => { - if (!this.dom.contains(evt.target as Node)) { + if (!this.dom.contains(evt.composedPath()[0] as Node)) { this.close(); } };