fix(ui): input group addon no longer steals clicks from its select

This commit is contained in:
sam committed 2026-10-10 11:26:42 +11:00
1 parent f9efae8a5e
commit f30405ea2b
2 files changed
+2 -2

No files matched your search

@@ -17,7 +17,7 @@ const props = withDefaults(
function handleInputGroupAddonClick(e: MouseEvent) {
const currentTarget = e.currentTarget as HTMLElement | null;
const target = e.target as HTMLElement | null;
if (target && target.closest("button")) {
if (target && target.closest("button, select, input, a")) {
return;
}
if (currentTarget && currentTarget?.parentElement) {