Repository navigation
Commit c2d9cdb
committed
fix(docs-infra): keep focus in the API reference filter
The API reference filter writes its value to the URL on each change. With
the Navigation API integration, each of these navigations ends with the
browser moving focus to the body, so typing `signal` in the filter leaves
`s` and the other keys go to the page.
Pass `focusReset: 'manual'` next to `scroll: 'manual'`, so focus stays in
the filter field.1 parent 5d0a5dc commit c2d9cdb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
0 commit comments