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 df1bfb5 commit f7906aeCopy full SHA for f7906ae
app/components/header.hbs
@@ -10,7 +10,7 @@
10
The Rust community’s crate registry
11
</h1>
12
13
- <SearchForm @size={{if @hero "big"}} />
+ <SearchForm @size={{if @hero "big"}} @autofocus={{@hero}} />
14
</div>
15
16
<nav local-class='nav'>
app/components/search-form.hbs
@@ -26,7 +26,7 @@
26
placeholder="Type 'S' or '/' to search"
27
value={{this.header.searchValue}}
28
oninput={{this.updateSearchValue}}
29
- autofocus="autofocus"
+ autofocus={{@autofocus}}
30
required
31
aria-label="Search"
32
data-test-search-input
0 commit comments