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 ed10deb commit e32e6d5Copy full SHA for e32e6d5
src/components/ui/input-group.tsx
@@ -89,7 +89,11 @@ function InputGroupAddon({
89
if ((e.target as HTMLElement).closest('button')) {
90
return;
91
}
92
- e.currentTarget.parentElement?.querySelector('input')?.focus();
+ e.currentTarget.parentElement
93
+ ?.querySelector<
94
+ HTMLInputElement | HTMLTextAreaElement
95
+ >('input, textarea')
96
+ ?.focus();
97
}}
98
{...props}
99
/>
0 commit comments