Closed
Description
While I'm generally quite positive on the redesigned search bar, there are a handful of UX issues I've noticed that are a result of its new location at the top of the content portion of the page as opposed to the sidebar (which is sticky).
- Least important, but worth mentioning: It is less discoverable, especially if you navigate directly to an anchor link that is farther down the page.
- The
/
search focus keyboard shortcut instantly scrolls you to the top of the page, which is jarring and causes you to lose context. (I am often searching for something related to what I'm looking at.) - Related to 2, the jump to page top causes a loss of scroll history. Consider: you're halfway down a page, press
/
to search, navigate to a search result, then press the back button. Previously, your browser would restore the scroll position of the page you were originally on, but that is no longer possible as the/
caused a scroll to the top of the page.
The easiest way to experiment with this is using the Elixir docs:
- Elixir 1.16.1, which uses the new search
- Elixir 1.15.7, which uses the old search
This issue is related to #1835, which could be used as inspiration for a solution.
Metadata
Metadata
Assignees
Labels
No labels