From dffee8e642300732c9fff4facfb44c2adeaf4104 Mon Sep 17 00:00:00 2001 From: Seth Hubbard Date: Sat, 14 Nov 2026 00:01:02 -0600 Subject: [PATCH] [#1392] Autofocus the main search bar Focusing on "/" will come later. --- src/web/FloraWeb/Components/MainSearchBar.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/FloraWeb/Components/MainSearchBar.hs b/src/web/FloraWeb/Components/MainSearchBar.hs index 23b3a4e1f..57bee7bfd 100644 --- a/src/web/FloraWeb/Components/MainSearchBar.hs +++ b/src/web/FloraWeb/Components/MainSearchBar.hs @@ -21,5 +21,6 @@ mainSearchBar = , autocorrect_ "off" , autocapitalize_ "off" , spellcheck_ "off" + , autofocus_ ] button_ [class_ "btn btn--big", type_ "submit", ariaLabel_ "Search"] Icons.lookingGlass