Fix numpad enter not working for revision compare dropdown
What does this MR do and why?
This change improves keyboard accessibility in a dropdown component used for selecting code branches or tags. Previously, the dropdown only responded to the regular Enter key when users typed in a search box. Now it also responds to the Enter key on the numeric keypad, making it more user-friendly for people who prefer using the numpad.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Visit a project/directory under a project
- Select another branch/tag
- For searching commit, enter the commit sha and press
enteron the numpad
- For searching commit, enter the commit sha and press
- Select compare
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #552359 (closed)