-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Replace Tether with Popper.js #1202
Comments
@tyscorp whoa i am so down for a new/better Tether replacement! it was starting to be the source of most of my daily pain... but this is news to me, so i'll have to do some research. open to suggestions! |
I think the deprecation of Tether doesn't present much urgency for us. We haven't upgraded the library in a very long time and haven't filed bugs / PRs against the repo, so it's clearly pretty stable for us. If we do find that Tether is significantly impeding our progress on Popover, though, then we should certainly consider switching to Popper.js or writing our own implementation. In other words, switching away from Tether is a means, not an end. |
@adidahiya I see some urgency here. There's a whole class of I'll be looking into this over the next few weeks (though there's some vacation in the way) to consider replacing Tether. |
Second that, we have so many issues with popover (and popover arrow) positioning. In my opinion, popover is broken in one big way in the fact that we don't have true smart positioning, i.e. the popover knows how to position itself no matter the content or context around it. In addition, Tether constraints API is far from the ideal developer experience, I'm positive we can do much better. |
Before you write a custom implementation please consider to raise new issues against the Popper.js repository, I'd be happy to review your concerns! |
@FezVrasta there's basically no chance we build our own popper implementation (cuz that sounds like a special kind of nightmare), especially when popper.js looks so damn good 🔥 🔥 🔥 |
@FezVrasta i've started refactoring |
So will this be a breaking change? Will both Tether and Popper.js be supported simultaneously? I'm currently monkeypatching a bunch of components to use Popper.js instead of Tether so it would be nice to be able to remove that. What is the API for passing options going to be like? Similar to the way it is done now for Tether? |
@tyscorp this will certainly be a breaking change, and a full conversion from Tether to Popper.js. How are you using Popper currently? With Blueprint component?? I've been having a good time letting react-popper handle the integration. The API will be very similar to the current one but with new names: |
I'm using it with the blueprint Since it is a breaking change will it be v1.23.0 or v2.0.0? |
@tyscorp it will be available as soon as it's ready as |
@llorca any rough idea when v2 will be released? Thanks! |
@tnrich our rough timeline is around the end of this year. but |
cool, thanks @giladgray |
According to the Tether repo, Tether is no longer being actively maintained.
What is the plan for blueprint?
Taking over Tether? Replacing it with another library, such as the one recommended by Tether, Popper.js?
The text was updated successfully, but these errors were encountered: