Repository navigation
Commit 4c4a111
site: the floating button returns to search, where it focuses
The "Top" button scrolled to the page header and then focused the
search box about 1,600px further down, so on desktop a keyboard user
was left typing into a field off screen. Since the phone fix, the
button is also how small screens get the filters back.
It is now "Search": it scrolls to the catalog section and focuses the
search box without a second scroll. Checked at 1280x900 (with and
without reduced motion), 375x800 and 800x400: the search box ends on
screen and focused, and typing filters immediately.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wc67NX9MM964uaVGn4bpZJ1 parent 6d98a5d commit 4c4a111
3 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
637 | 640 | | |
638 | 641 | | |
639 | | - | |
640 | | - | |
| 642 | + | |
| 643 | + | |
641 | 644 | | |
642 | 645 | | |
643 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | | - | |
| 1010 | + | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| |||
0 commit comments