-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
[core] Remove Floating UI dependency? #528
Labels
core
Infrastructure work going on behind the scenes
Comments
One of the main points in #1246 is to reduce the duplication between Base UI and Floating UI, should we keep this one open? @atomiks @michaldudak |
Also related: #454 |
We discussed this and decided to close this issue as it will likely be 2-3 years or even more before native CSS has parity with the Floating UI features we are using, so there's no need to track this for now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I expect many developers will ask themselves, why do we need to pay for Floating UI bundle size when the lowest version of the browser we support has the CSS "anchor position" feature available (not true yet): https://developer.chrome.com/blog/new-in-web-ui-io-2024#anchor_positioning.
So I think that having this issue to work toward removing the logic not needed anymore will at worst bring clarity to developers, and at best reduce the library size.
If there are still strong reasons to have Floating UI, then I think:
Examples
Motivation
I'm going through https://developer.chrome.com/blog/new-in-web-ui-io-2024, and reporting all the opportunities that have no issues, so we keep the library at the edge of what's technically possible with today's browsers.
Search keywords: -
The text was updated successfully, but these errors were encountered: