Comments (8)
For those who are interested in the floating-ui ember solution, it is now supported by ember-attacher (starting from v2
).
from ember-tooltips.
There's a rough idea in my head to do it for a v4 release at some in the near future, but have not started working on it.
from ember-tooltips.
@maxfierke Are there still any plans for updating to popper.js v2, or for that matter its replacement floating-ui? I'm working on updating an app that currently uses ember-attacher, but with that having been neglected for some time, I'm trying to get a sense of the future of this project compared to newer solutions like ember-tippy, ember-popper-modifier or ember-velcro.
from ember-tooltips.
@gorner I started spiking on a v4 that refactored everything into Glimmer components w/ popper@2 & tippy-based modifiers. I'll have to find that branch again, but I think there was still a bit more work to go. The fact that popper.js v2 is already being replaced with something else kind of irks me, but I guess it's been three years already (pandemic time brain!)
I haven't been doing much Ember stuff (or JavaScript in general) for the past nine months or so, so there's a slim chance that I get back to working on this myself, but happy to help enable anyone else to provide a good path forward!
If I was starting something new, I'd probably try something modifier-based. ember-velcro
looks kind of interesting. Would be curious if one could wrap it in an ember-tooltips-compatible component API.
from ember-tooltips.
@maxfierke Thanks for the reply, completely understandable. I agree some sort of compatible wrapper using ember-velcro and/or whatever replaces Tippy.js would be the best long-term solution, but we might go with ember-tippy for the time being. It's always ideal when the Ember community can coalesce around a common solution – the whole "stability without stagnation" thing – but that community is definitely smaller these days.
cc @jelhan and @NullVoxPopuli who I noticed recently having a discussion on a related matter.
from ember-tooltips.
@gorner what a coincidence, I've recently opened the draft PR with a proposal to update "ember-popper-modifier" to Floating UI. The PR contains a fully-working version of the addon, but with Floating UI instead of Popper. Still, this will barely become a part of that addon (see details in conversation, it is still pending).
I would be glad to contribute to such an upgrade/migration to the ember-tooltip library and hear your thoughts on what is needed for that. I agree that ember-velcro
looks interesting. Maybe using it under the hood of the new version of ember-tooltips
makes sense? Does it make sense to focus on updating/integrating it into this library?
P.S. I am working on an update an app that currently uses ember-attacher as well, and I think that the best long-term solution is to use the Floating UI
-based solution.
from ember-tooltips.
Why's it depend on sass?
from ember-tooltips.
Historically, it is used there for the show/hide transition animations and, partially, for the arrow positioning. TBH, I think about dropping sass in the future in some way.
Or, maybe it is possible to use sass internally only and don't make it a dependency, but, unfortunately, I don't yet know the way to do this.
from ember-tooltips.
Related Issues (20)
- Having popover style the same as tooltip HOT 2
- Disable all ember-tooltips styles HOT 1
- Positioning the pointer/arrow so it's not always centered in 3.x HOT 10
- Ember Tooltip v3.4.0 shows a tooltip outside the browser window HOT 10
- Update documentation and tests to use Octane features
- Remove tooltip from DOM on hide HOT 3
- Issue with tooltip positioning HOT 4
- Deprecation warnings with Ember 3.20 HOT 5
- Wrong Sentence at line 335 of README file
- IE 11 - Not working due to js errors HOT 6
- Hiding popover on target click or inside click HOT 1
- onHide triggers even if tooltip wasn't shown HOT 1
- Deprecation warning: Using `run.bind` has been deprecated HOT 2
- Must use import to load ES Module eslint-scope/lib/definition.js HOT 2
- Increased memory usage on 3.5.1
- Remove use of ember global Ember.testing
- Security Vulnerability: glob-parent@<5.1.2
- Popover showing behind elements below HOT 1
- Add Glint TypeScript types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-tooltips.