You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timmaier
changed the title
[Bug]: Combobox using portal and with input not clickable/focusable when within a dialog portal
[Bug]: Combobox using portal Input not clickable/focusable when within a dialog portal
Jul 30, 2024
Thanks a lot @zernonia! Your solution seems to work well, but feels more like a hack (hence you said temporary). What would be a natural solution?
If I understand correctly we'd need to give priority to the Combobox focus over the Dialog's FocusScope somehow.
Environment
Link to minimal reproduction
https://stackblitz.com/edit/ptivtd?file=src%2FApp.vue
Steps to reproduce
Add a Combobox input that uses ComboboxPortal. Add a ComboboxInput within the ComboboxViewport. Place this component within a Dialog.
Describe the bug
The ComboboxInput is not focusable and cannot accept any keyboard input.
Expected behavior
The ComboboxInput should be focusable and searchable when placed within a Dialog.
Context & Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: