The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix: focus hack
flooorianflobc0715553e99
diff --git a/packages/ui/src/input-select.tsx b/packages/ui/src/input-select.tsxindex 799bb0134c..4aeedcc930 100644--- a/packages/ui/src/input-select.tsx+++ b/packages/ui/src/input-select.tsx@@ -75,8 +75,8 @@ export function InputSelect({<><Command.Inputplaceholder={inputAttrs?.placeholder || "Search..."}- // hack to focus on the input when the dropdown opens (only on desktop)- autoFocus={openCommandList && !isMobile}+ // hack to focus on the input when the dropdown opens+ autoFocus={openCommandList}onFocus={() => setOpenCommandList(true)}value={inputValue}onValueChange={setInputValue}