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
Updating text of centered tooltip doesn't update the tooltip position #13
Comments
Hi @maxpaj |
If a tooltip has it's contents (text for example) updated while it is being displayed and the tooltip is configured to be centered, it won't be centered after the content changes. So it looks like this, a centered tooltip below
Then after changing the content, not centered below
Then if you drag away the mouse so the tooltip is hidden and then make it appear again, it will have adjusted:
|
Error: Fix: |
thanks |
I just stumbled upon this problem.
I was however able to solve it by setting a
ref="someName"
attribute on the<popper>
and then using$refs.someName.popperJS.update()
manually.Here's a JSFiddle. Try clicking the "bottom" link:
https://jsfiddle.net/maxpaj/9qvmn093/
The text was updated successfully, but these errors were encountered: