fix(ui): input group addon no longer steals clicks from its select
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user