Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the arrow keys in the search bar breaks the UI a bit #9369

Open
dmint789 opened this issue May 9, 2024 · 1 comment
Open

Using the arrow keys in the search bar breaks the UI a bit #9369

dmint789 opened this issue May 9, 2024 · 1 comment
Labels
TYPE: bug Bug reported by a stakeholder

Comments

@dmint789
Copy link
Member

dmint789 commented May 9, 2024

Describe the bug
When searching for something in the search bar, if you press arrow up or arrow down, it automatically opens a match, and while the page is loading the UI is bugged and shows that match duplicated 3-4 times over.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.worldcubeassociation.org/
  2. Click on the search box and start typing something that would give multiple results (e.g. "Euro")
  3. Press arrow up or arrow down on the keyboard

Expected behavior
It should not automatically select a match until the user navigates to the desired match with the up/down arrows and presses Enter, and the matches should not be duplicated after selecting one.

@dunkOnIT dunkOnIT added the TYPE: bug Bug reported by a stakeholder label May 10, 2024
@dunkOnIT
Copy link
Contributor

Search bar is non-React, so it's fairly likely that we'll be replacing it entirely rather than fixing this bug - but will leave the issue open until it is replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TYPE: bug Bug reported by a stakeholder
Projects
None yet
Development

No branches or pull requests

2 participants