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
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.1.1
What browser are you using?
Chrome, but does not matter
Reproduction URL
https://codesandbox.io/p/devbox/still-leftpad-xr4zpk?file=%2Fsrc%2FCombobox.jsx&embed=1
Steps to reproduce:
Describe your issue I am randomly getting the error: Error: Unexpected undefined when the list is empty.
Error: Unexpected undefined
I think one possible fix here is to bump the @tanstack/react-virtual package to the latest version and disable the virtualizer when the list is empty
@tanstack/react-virtual
This is related to this ticket TanStack/virtual#696 and the related link PR: TanStack/virtual#741
The text was updated successfully, but these errors were encountered:
Combobox
virtual
This should be fixed by #3356, and will be available in the next release.
You can already try it using:
npm install @headlessui/react@insiders
Sorry, something went wrong.
RobinMalfait
Successfully merging a pull request may close this issue.
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.1.1
What browser are you using?
Chrome, but does not matter
Reproduction URL
https://codesandbox.io/p/devbox/still-leftpad-xr4zpk?file=%2Fsrc%2FCombobox.jsx&embed=1
Steps to reproduce:
Describe your issue
I am randomly getting the error:
Error: Unexpected undefined
when the list is empty.I think one possible fix here is to bump the
@tanstack/react-virtual
package to the latest version and disable the virtualizer when the list is emptyThis is related to this ticket TanStack/virtual#696 and the related link PR: TanStack/virtual#741
The text was updated successfully, but these errors were encountered: