The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update input-select.tsx
Steven Teyc51f3d0549b5
diff --git a/packages/ui/src/input-select.tsx b/packages/ui/src/input-select.tsxindex f25f2f5ccc..a04e4d052a 100644--- a/packages/ui/src/input-select.tsx+++ b/packages/ui/src/input-select.tsx@@ -74,8 +74,8 @@ export function InputSelect({<><Command.Inputplaceholder={inputAttrs?.placeholder || "Search..."}- // hack to focus on the input when the dropdown opens- autoFocus={openCommandList}+ // hack to focus on the input when the dropdown opens (only on desktop)+ autoFocus={openCommandList && !isMobile}// when focus on the input. only show the dropdown if there are tags and the tagValue is not emptyonFocus={() => setOpenCommandList(true)}value={inputValue}