-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for @headlessui/react version 2 #115
Comments
Hi @PodStuart. Sorry, I can not support the @headlessui/react v2. Because the @headlessui/react v2 includes the Floating UI, conflict arises in this package, which cannot function normally. So, I suggest you abandon this package, upgrade to @headlessui/react v2 to use the |
But you can't do autoplacement with the anchor prop? I've also migrated some of our projects and they all seem to run fine, as far as I can tell. |
Although I can do auto-placement, but the The usage of Floating UI APIs with this package and Headless UI v2 is different, I am unable to implement full feature support (like Floating UI options, arrow, portal...) for Headless UI v2, and this package is non-invasive to the Headless UI, if the Headless UI has changed and this package will be affected a lot. So I give up support it. 😅
If you run fine, continue to do it! |
Well @ycs77 - Let me just say thank you for supporting it while you could!! Much love. It's been a big help to me at missn.com. |
Hi there, It seems like, hopefully, Headless UI v2 should basically make this package obsolete? Unless it doesn't provide as good of access to the underlying Floating UI. And of course, at the moment, v2 is only for React... I desperately hope that they release a Vue v2 as well soon. Anyway, as such, perhaps you should add a note to the top of the readme like this: Note Headless UI has released version 2.0 (currently for React only), which builds in anchor positioning with Floating UI, making this package unnecessary. |
@vincerubinetti done, thanks for your suggestion. |
Is your feature request related to a problem? Please describe.
Unable to upgrade to @headlessui/react version 2.
Describe the solution you'd like
Support for @headlessui/react version 2.
Describe alternatives you've considered
Dropping use of @headlessui-float/react.
The text was updated successfully, but these errors were encountered: