Skip to content
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 updateFor w/ MutationObserver #378

Open
maxfierke opened this issue Aug 14, 2019 · 0 comments
Open

Replace updateFor w/ MutationObserver #378

maxfierke opened this issue Aug 14, 2019 · 0 comments
Labels
3.x ember-tooltips Release series 3.x enhancement

Comments

@maxfierke
Copy link
Collaborator

updateFor is kind of a hack to induce a call to update the tooltip display if some content changes. Instead, I think we can wire something up with a MutationObserver to update the tooltip if content nodes change. We might even be able to enhance this by only updating the tooltip when mutations that affect the width or height happen.

@maxfierke maxfierke added enhancement 3.x ember-tooltips Release series 3.x labels Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x ember-tooltips Release series 3.x enhancement
Projects
None yet
Development

No branches or pull requests

1 participant