diff --git a/UI/Input/DropDown.ts b/UI/Input/DropDown.ts index fc7012a..57c302d 100644 --- a/UI/Input/DropDown.ts +++ b/UI/Input/DropDown.ts @@ -28,7 +28,10 @@ export class DropDown extends InputElement { for (const v of this._values) { this.ListenTo(v.shown._source); } - this.ListenTo(this._value) + this.ListenTo(this._value); + + this.onClick(() => {}) // by registering a click, the click event is consumed and doesn't bubble furter to other elements, e.g. checkboxes + }