We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Listbox.Button
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
0.0.0-insiders.dcbcd79
What browser are you using?
Chrome
Reproduction URL
https://codesandbox.io/p/sandbox/amazing-glitter-forked-ctqf7f?file=%2Fsrc%2FApp.tsx%3A13%2C25
Describe your issue
Notice that the aria-describedby="description" attribute on Listbox.Button is not rendered.
aria-describedby="description"
However, if I add as={Fragment} to Listbox.Button and put the attribute on the child <button>, then it is rendered correctly.
as={Fragment}
<button>
The text was updated successfully, but these errors were encountered:
Can recreate an issue, work on it.
Sorry, something went wrong.
Solution: #3119
No branches or pull requests
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
0.0.0-insiders.dcbcd79
What browser are you using?
Chrome
Reproduction URL
https://codesandbox.io/p/sandbox/amazing-glitter-forked-ctqf7f?file=%2Fsrc%2FApp.tsx%3A13%2C25
Describe your issue
Notice that the
aria-describedby="description"
attribute onListbox.Button
is not rendered.However, if I add
as={Fragment}
toListbox.Button
and put the attribute on the child<button>
, then it is rendered correctly.The text was updated successfully, but these errors were encountered: