question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Popper] Replace or refactor to use Floating UI

See original GitHub issue

With https://floating-ui.com/ aiming to replace Popper.js, I was wondering what are your plans with regards to Popper component. Are you planning to deprecate it, refactor it to use Floating UI or any other changes? I wanted to know if I can use it without worring too much if it will get changed soon.

Thank you for your time 🙏

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Jul 27, 2022

If upgrading from Popper to Floating UI cause breaking changes, we’ll do it in the next major.

I have added this issue to #30660 and added the v6.x label, to be sure we consider this in the next major cc @atomiks. We have to consider the pros & cons.

Pros:

Cons:

  • Breaking changes

Benchmark

0reactions
jy95commented, Jul 22, 2022

Floating UI has a page for the pros https://floating-ui.com/docs/motivation#comparison-with-popper-style-api For the migration guide : https://floating-ui.com/docs/migration

So what could be the cons ? The refactoring cost ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Popper vs. Floating UI - LogRocket Blog
One distinct factor that makes Floating UI better than Popper is that while Popper only runs on the web using the DOM, Floating...
Read more >
Migrating from Popper 2 to Floating UI
Positioning function change​​ Popper applied styles and added modifiers for you by default. Floating UI on the other hand is completely bare bones...
Read more >
Branches · Pope, Oliver / bootstrap · GitLab
v6/gs/use-floating-ui-in-place-of-popper diverged from upstream ... e7707cef · Add tests, and refactor the change · 2 months ago.
Read more >
AIL Framework version 4.1 released with a new investigation ...
[popper install] rename popper repository. [Terrtia] https://github.com/floating-ui/floating-ui/discussions/1425. [UI] remove update note.
Read more >
Gitee 极速下载/popper-js
Popper is now Floating UI! For Popper v2, visit its dedicated branch. For help on migrating, check out the Migration Guide. Floating UI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found