Skip to content
New issue

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

Unable to click scrollbar of combobox options when being displayed inside a Dialog #3230

Closed
isaacpresidium opened this issue May 22, 2024 · 4 comments · Fixed by #3249
Closed
Assignees

Comments

@isaacpresidium
Copy link

isaacpresidium commented May 22, 2024

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.0.1

What browser are you using?

Chrome

Reproduction URL

Here is a codesandbox link, click the button to open a modal and when you type in the box you will see a list appear.

Describe your issue

You can scroll the list with the scroll wheel, but you cannot click the scrollbar with your left mouse button. This only happens when the combobox is displayed within a Dialog, but is there any way to prevent it? Am I doing something wrong?

@RobinMalfait
Copy link
Member

Hey!

The linked CodeSandbox link points to the default template, can you update the CodeSandbox to make sure the reproduction is available?

@isaacpresidium
Copy link
Author

Hey!

The linked CodeSandbox link points to the default template, can you update the CodeSandbox to make sure the reproduction is available?

Updated the link: https://codesandbox.io/p/devbox/happy-fog-3crmms

@isaacpresidium
Copy link
Author

@RobinMalfait hey, can I get the label for this ticket changed at least? I provided more info, with a working link, as requested

@RobinMalfait
Copy link
Member

Hey!

This should be fixed by #3249, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/react@insiders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants