feat: add comments and cleanup unused imports across codebase

This commit is contained in:
2026-05-10 20:00:04 +02:00
parent b152e246ff
commit e48d95cb4e
68 changed files with 560 additions and 88 deletions

View File

@@ -1,7 +1,7 @@
class UIDropdown extends HTMLElement {
isOpen: boolean = false;
contentEl: HTMLElement | null = null;
isClosing: boolean = false;
isClosing: boolean = false; // debounce flag
constructor() {
super();
@@ -53,7 +53,7 @@ class UIDropdown extends HTMLElement {
}
setTimeout(() => {
this.isClosing = false;
}, 100);
}, 100); // delay prevents rapid open/close flicker
}
handleClickOutside(event: MouseEvent): void {