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

Combobox scroll jitter when scrolling long list after an option is selected #3189

Closed
josh3io opened this issue May 8, 2024 · 1 comment · Fixed by #3190
Closed

Combobox scroll jitter when scrolling long list after an option is selected #3189

josh3io opened this issue May 8, 2024 · 1 comment · Fixed by #3190

Comments

@josh3io
Copy link

josh3io commented May 8, 2024

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2

What browser are you using?

Windows 11
Google Chrome Version 124.0.6367.119 (Official Build) (64-bit)

Reproduction URL

https://tailwindcss.com/blog/headless-ui-v2?utm_source=tldrnewsletter

Describe your issue

In the demo, after selecting a user in the "combobox list virtualization" section, there is jitter when trying to scroll the list. With no user selected it scrolls cleanly as expected. See screen recording.

headless.2.0.select.demo.glitch.mp4
@RobinMalfait
Copy link
Collaborator

This should be fixed by #3190, 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