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
The official example of using a "Tags input" with a combobox inserts the ComboboxContent twice. Once via direct usage of <ComboboxContent /> and again via <CommandList /> which contains another instance of <ComboboxContent />.
This results in two wrapper divs containing identical roles and ids.
System Info
N/A
Contributes
I am willing to submit a PR to fix this issue
I am willing to submit a PR with failing tests
The text was updated successfully, but these errors were encountered:
I should add, that simply removing the first instance of <ComboboxContent /> fixes the issue, but this necessitates adding :dismissable="true" to <CommandList />
Edit: :dismissable="true" messes with Firefox, the list no longer closes when using the tab key. To fix this sideeffect, I added tabindex="-1" to <CommandList />
Reproduction
https://www.shadcn-vue.com/docs/components/tags-input.html#tags-with-combobox
Describe the bug
The official example of using a "Tags input" with a combobox inserts the ComboboxContent twice. Once via direct usage of
<ComboboxContent />
and again via<CommandList />
which contains another instance of<ComboboxContent />
.This results in two wrapper divs containing identical roles and ids.
System Info
Contributes
The text was updated successfully, but these errors were encountered: