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

Upgraded @headlessui/react to latest version (2.1.3) #1857

Open
wants to merge 10 commits into
base: rewrite
Choose a base branch
from

Conversation

ElementUser
Copy link
Contributor

@ElementUser ElementUser commented Aug 25, 2024

Issue Link: #1851

Description of Changes

Upgraded @headlessui/react to latest version (2.1.3)

  • Refactored many components of the form Component.Subcomponent (which are marked as deprecated by VSCode) to the separate/more direct imports (e.g. Combobox.Input -> ComboboxInput)

Tested the Combobox search feature in Build Analyzer and User Search & general navigation around the website, and I did not catch any functionality that broke.

===

Note: will require a rebuild & reupload of the bun lock file after merging other Pull Requests that contain dependency changes.

@Sendouc
Copy link
Owner

Sendouc commented Sep 1, 2024

Screen.Recording.2024-09-01.at.11.52.36.mov

Hmm otherwise I think looks good but this layout shift is a bit unfortunate.

@ElementUser
Copy link
Contributor Author

Very subtle change that you caught, thanks for double-checking Sendou!

So I took a look at the @headlessui/react Repo and it is a confirmed issue with the version of the library itself. Someone else reported a bug that is very similar to this (very likely the same issue): tailwindlabs/headlessui#3396

So it's best to not proceed with the upgrade until they fix it in a later version. However, we can keep an eye on this linked Github issue at least =)

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 this pull request may close these issues.

2 participants