zed/docs/theme
Abinash cbb7982989
docs: Allow navigating search results with arrow keys (#50901)
Closes #50604


https://github.com/user-attachments/assets/8a85b39e-e463-4fee-bc1f-2a03fe193ce3


https://github.com/user-attachments/assets/8290bb06-1eaf-4852-9568-97654e30211e

### Results: 
Now, you can scroll the search results with the arrow keys.

### Suggestion:
While this is working, I like to propose some better UX.

When you scroll with the arrow keys, the whole search results are
scrolling along with the search bar. But, I think it would be better if
we keep the search bar fixed on top and only the results scroll. Here is
an example:


https://github.com/user-attachments/assets/af9dce73-27c6-407b-8180-2f771a85303b

If you think this will be better, please let me know, and I will update
this PR.

Thank you.

Release Notes:

- Fixed docs search results scrolling with arrow keys

---------

Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
2026-03-11 13:43:56 +01:00
..
css docs: Allow navigating search results with arrow keys (#50901) 2026-03-11 13:43:56 +01:00
fonts docs: Add design touch-ups (#17505) 2024-09-06 13:43:54 -03:00
analytics.js docs: Fix typo in consent banner hide check (#50823) 2026-03-05 14:22:23 +01:00
c15t@2.0.0-rc.3.js docs: Add consent banner (#50302) 2026-03-04 15:38:31 +01:00
consent-banner.css docs: Add consent banner (#50302) 2026-03-04 15:38:31 +01:00
favicon.png docs: Fix favicon (#11381) 2024-05-03 19:20:07 -04:00
highlight.css docs: Fix long code blocks overflow (#18208) 2024-09-23 09:59:45 -03:00
index.hbs docs: Allow navigating search results with arrow keys (#50901) 2026-03-11 13:43:56 +01:00
page-toc.css docs: Add more design polish (#43802) 2025-11-29 12:22:45 -03:00
page-toc.js docs: Fix bug on table of contents (#43840) 2025-11-30 16:11:20 +00:00
plugins.css docs: Add "Copy as Markdown" button to toolbar (#38218) 2025-09-15 21:57:23 +00:00
plugins.js docs: Add more design polish (#43802) 2025-11-29 12:22:45 -03:00