-
Notifications
You must be signed in to change notification settings - Fork 66
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
Issues with keyboard navigation on KDropdownMenu #588
Comments
Can I get this assigned? |
Hi @galovdev, thank you for volunteering, I will assign you |
Hello @galovdev, are you still interested in contributing on this issue? If not, we will reassign it. |
Hi, please give me this weekend, Im working on the other issue |
Thank you @galovdev - no problem. Please reach out if you have any questions. |
Hi @galovdev, are you still planning to work on this? |
Product
Noted in Studio, and in the KDS Docs on the last example of KListWithOverflow.
Expected behavior
Two things are not working very well right now:
options
list, We can include dividers with a{ type: "Divider" }
object.tab
oresc
, we should return the focus to the last element focused before KDropdownMenu was active. This can be done by saving thedocument.activeElement
before focusing the first option of the dropdown menu.Actual behavior
esc
ortab
is pressed, the focus returns to the first focusable element on the document after a second. But before the focus returns to the body, the next option in the menu is focused, and after a second, the menu closes, which is a bit misleading since, at first, it seems that we could navigate through the menu with a tab.Steps to reproduce the issue
Additional information
Compartir.pantalla.-.2024-03-25.16_22_53.mp4
The text was updated successfully, but these errors were encountered: