ProfileMenu keyboard navigation re-opening the menu selects focused item instead #1333

Closed
opened 2026-01-29 17:52:12 +00:00 by claunia · 0 comments
Owner

Originally created by @Koen-Nocore on GitHub (Aug 5, 2024).

Describe the bug
Keyboard navigation of the profile menu has some unwanted behavior. When navigating an opened profile menu with the keyboard, selecting focusing a menu item and closing the profile menu. The next time you try to open the profile menu with the keyboard, you navigate to the previously focused item instead.

To Reproduce
Steps to reproduce the behavior:

  1. Tab to a profile menu.
  2. Open the profile menu using the keyboard.
  3. Focus an item in the profile menu.
  4. Close the profile menu using escape.
  5. Try and open the profile menu again using the keyboard.
  6. You now navigate to the previously focused menu item, instead of opening the menu again.

Expected behavior

  1. Tab to a profile menu.
  2. Open the profile menu using the keyboard.
  3. Focus an item in the profile menu.
  4. Close the profile menu using escape.
  5. Try and open the profile menu again using the keyboard.
  6. The profile menu opens and you can go through the menu items again.

Screenshots
If applicable, add screenshots to help explain your problem.
https://github.com/user-attachments/assets/4f368c21-b4ea-489e-a848-7cb8ecb9e4fd

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser At least Edge and Firefox
  • Version:
    • Edge Version 127.0.2651.86 (Official build) (64-bit)
    • Firefox Version 128.0.3 (64-bit)
Originally created by @Koen-Nocore on GitHub (Aug 5, 2024). **Describe the bug** Keyboard navigation of the profile menu has some unwanted behavior. When navigating an opened profile menu with the keyboard, selecting focusing a menu item and closing the profile menu. The next time you try to open the profile menu with the keyboard, you navigate to the previously focused item instead. **To Reproduce** Steps to reproduce the behavior: 1. Tab to a profile menu. 2. Open the profile menu using the keyboard. 3. Focus an item in the profile menu. 4. Close the profile menu using escape. 5. Try and open the profile menu again using the keyboard. 6. You now navigate to the previously focused menu item, instead of opening the menu again. **Expected behavior** 1. Tab to a profile menu. 2. Open the profile menu using the keyboard. 3. Focus an item in the profile menu. 4. Close the profile menu using escape. 5. Try and open the profile menu again using the keyboard. 6. The profile menu opens and you can go through the menu items again. **Screenshots** If applicable, add screenshots to help explain your problem. https://github.com/user-attachments/assets/4f368c21-b4ea-489e-a848-7cb8ecb9e4fd **Desktop (please complete the following information):** - OS: Windows 11 - Browser At least Edge and Firefox - Version: - Edge Version 127.0.2651.86 (Official build) (64-bit) - Firefox Version 128.0.3 (64-bit)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1333