Keyboard navigation messes up the search menu

AI-generated summary

A bug was reported where keyboard navigation interferes with the search menu: after opening search via /, pressing ↓ followed by Enter opens the first topic from the latest page instead of the first search result. schleifer documented the steps to reproduce the issue with screenshots. isaac confirmed the issue would be fixed via a Glimmer search menu update (PR #24393) and noted a separate fix for the widget search menu was also straightforward. Later, isaac confirmed the issue is resolved as the Glimmer search menu is now the default (PR #25092), and the thread can be closed.

Reproduction

  1. Load https://meta.discourse.org/latest

  2. Press j to select the first topic

  3. Press / to open the search box

  4. Type stuff + return to search

  5. Press the ↓ to select + return to open the first search result

Behaviors

3 Likes

This will be fixed in the glimmer search menu via

https://github.com/discourse/discourse/pull/24393

I will add a fix for the widget search menu as well as it is pretty straightforward.

4 Likes

The Glimmer search menu has been made the new default which resolves this issue. We are good to close :slight_smile:

2 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.