Skip to content

Commit c7e6f2d

Browse files
authored
Update select.ts (#150)
1 parent 36d994d commit c7e6f2d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changeset/tall-worms-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ export class SUISelectElement extends HTMLElement {
5656
this.dropdown = this.querySelector<HTMLDivElement>('.sui-select-dropdown')!;
5757
this.select = this.querySelector<HTMLSelectElement>('select')!;
5858

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.
6159
document.addEventListener('click', ({ target }) => {
6260
if (this.dropdown?.classList.contains('active') || !target) {
6361
return;

0 commit comments

Comments
 (0)