Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Migrate from Popper (v2) to Floating UI (Popper successor) #1071

Open
strarsis opened this issue Jul 26, 2022 · 11 comments
Open

Migrate from Popper (v2) to Floating UI (Popper successor) #1071

strarsis opened this issue Jul 26, 2022 · 11 comments

Comments

@strarsis
Copy link

strarsis commented Jul 26, 2022

Problem

Popper (v2) is now Floating UI (successor).

Solution

It would be great if tippyjs can migrate from Popper (v2) to Floating UI.

@aeimi
Copy link

aeimi commented Nov 15, 2022

Will v7 be powered by Floating UI?

@atomiks
Copy link
Owner

atomiks commented Nov 15, 2022

I haven't had time to work on Tippy anymore. If you want to make a PR that switches to Floating UI, I can publish it as v7.

@aeimi
Copy link

aeimi commented Nov 17, 2022

I don't have the skill and time to do so. But what would you recommend. Still using tippy or just try to use some custom code to try to use floating ui? I'm talking here about vanilla js. Is it worth it to drop tippy for new shiny thing? Again, just Vanilla JS.

@atomiks
Copy link
Owner

atomiks commented Nov 17, 2022

@amdiv I think it depends what you're doing with it. If you're just using it for tooltips and simple popovers, definitely not. If you're doing more advanced positioning and need some of the new features Floating UI offers, then maybe. (It also has some bug fixes, but if you aren't noticing them then it doesn't matter).

If Tippy is working fine for you I don't see a reason to change right now

@aeimi
Copy link

aeimi commented Nov 17, 2022

Cool. Tippy is such an amazing piece of work. It would be sad for me to see it just as 'outdated'. Pushed out by shiny new thing. Now I get why Floating UI website have the same style as Tippy's. You're the man behind it all. Thank you.

@sunwrobert
Copy link

@atomiks Are there noticeable performance improvements between using Popper (TippyJS v4) <-> PopperV2 (TippyJS v6) <-> Floating UI?

@vlrevolution
Copy link

vlrevolution commented Mar 17, 2024

I'd love to see this implemented as well. The new floating UI has some neat tricks up its sleeves

There's a migration guide for those who have time to work on it:
https://floating-ui.com/docs/migration

@mulder999
Copy link

It is sad to see tippyJS is no longer supported/updated. What alternatives are you using ?

@vlrevolution
Copy link

It is sad to see tippyJS is no longer supported/updated. What alternatives are you using ?

I mean tippyjs is stable .. I'm still using it and added my own implementation to have dynamic scroll when content is too big

@mulder999
Copy link

We also rely on it; however, since it’s no longer maintained, we need to take action—either by supporting it ourselves or planning for a replacement.

@vlrevolution
Copy link

Yeah, you are right. The way to go would be to rewrite to use floating ui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants