-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.2.0
What browser are you using?
Chrome 129.0.6668.59
Reproduction URL
- https://codesandbox.io/p/devbox/headlessui-listbox-uncaught-error-forked-jgqn4t
- https://jgqn4t-5173.csb.app/
Describe your issue
We've noticed the following error on the production version of our app: https://react.dev/errors/185?invariant=185
Local error message:
To reproduce it (on macOS) you need to be using a mouse that isn't a Magic Trackpad/Mouse, or set the "Show scroll bars" option in Settings to "Always":
Steps to reproduce:
- Open the listbox and select an option (e.g. the first one).
- The application should crash.
Worth mentioning that you can prevent the error from occurring by either of the following options:
- Removing the
overflow-autofrom the element on L6. - Commenting out the label on L8.
korac, KingSora, AhmedElywa, JMHero05, anael-megna and 1 moreBekzhanKaspakov and josh-respectx
Metadata
Metadata
Assignees
Labels
No labels