Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): remove documentation search autofocus

Richie McIlroya4332b873809
diff --git a/apps/web/app/(docs)/docs/_components/DocsSearch.tsx b/apps/web/app/(docs)/docs/_components/DocsSearch.tsx
index 77e7b18ab..5fdc28716 100644
--- a/apps/web/app/(docs)/docs/_components/DocsSearch.tsx
+++ b/apps/web/app/(docs)/docs/_components/DocsSearch.tsx
@@ -221,7 +221,6 @@ export function DocsSearch({ searchIndex }: DocsSearchProps) {
value={query}
onChange={(e) => setQuery(e.target.value)}
placeholder="Search documentation..."
- autoFocus
className="flex-1 h-14 text-base text-gray-900 placeholder-gray-400 outline-none bg-transparent"
aria-label="Search documentation"
aria-autocomplete="list"