We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d994d commit c7e6f2dCopy full SHA for c7e6f2d
.changeset/tall-worms-check.md
@@ -0,0 +1,5 @@
1
+---
2
+"@studiocms/ui": patch
3
4
+
5
+Removes a leftover TODO comment
packages/studiocms_ui/src/components/Select/select.ts
@@ -56,8 +56,6 @@ export class SUISelectElement extends HTMLElement {
56
this.dropdown = this.querySelector<HTMLDivElement>('.sui-select-dropdown')!;
57
this.select = this.querySelector<HTMLSelectElement>('select')!;
58
59
- // TODO(louisescher): This adds one listener per select at the moment.
60
- // I'm unsure if this makes sense to keep for the full release, will need testing.
61
document.addEventListener('click', ({ target }) => {
62
if (this.dropdown?.classList.contains('active') || !target) {
63
return;
0 commit comments