-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
[Bug]: Web component DropdownMenu and Select arrow key bug #1564
Labels
bug
Something isn't working
Comments
Thanks for the issue @pmairoldi ! Thanks again for reporting similar issue as previous. |
pmairoldi
added a commit
to pmairoldi/radix-vue
that referenced
this issue
Jan 21, 2025
pmairoldi
added a commit
to pmairoldi/radix-vue
that referenced
this issue
Jan 21, 2025
pmairoldi
added a commit
to pmairoldi/radix-vue
that referenced
this issue
Jan 21, 2025
pmairoldi
added a commit
to pmairoldi/radix-vue
that referenced
this issue
Jan 27, 2025
zernonia
pushed a commit
that referenced
this issue
Jan 27, 2025
pmairoldi
added a commit
to pmairoldi/radix-vue
that referenced
this issue
Jan 30, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Link to minimal reproduction
https://stackblitz.com/edit/nexbpjt8-wvsqpwgv?file=src%2Fcustom-elements%2FCustomElement.ce.vue
Steps to reproduce
Related issue #1003
disabled
set totrue
This can be tested using the reproduction link.
Describe the bug
Since the component is inside a custom element it seems like the current
activeElement
is incorrect. From my testsdocument.activeElement
when using inside a custom-element is the custom element itself rather than the selected option.I think the follow code may be the problem line may be the problem:
It seems like this has already been addressed for radio groups so possibly the same fix could work #1314
Expected behavior
I expect the arrow key navigation to work the same inside a custom element as it does outside.
Context & Screenshots (if applicable)
Screen.Recording.2025-01-17.at.8.39.11.PM.mov
The text was updated successfully, but these errors were encountered: