-
-
Notifications
You must be signed in to change notification settings - Fork 39
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 tp content from empty to value doesn't create the tp instance #138
Comments
Start a new pull request in StackBlitz Codeflow. |
You are welcome to open a PR for it 👍 |
I just need to remove the if condition completely.It's seems enough to make it working but I see many comits related to the IF condition in the past so I guess it's an intention to have it there, isn't it? What's the purpose of that IF condition? |
Obviously removing the condition isn't the solution 🙂 |
I've come across this problem too. It happens when the initial value is null or undefined, and it only gets provided after some time — a scenario that's quite common when working with ngrx, given that state can evolve from being nullish to having a concrete value. In these cases, the tooltip doesn't appear unless the |
I'm also seeing this problem when using pipe async. |
When tooltip is initialized as empty string, null or undefined and value of the tooltip is loaded later then instance of tippy is not created.
Try stackblitz:
https://stackblitz.com/edit/kulxrc
The problem seems to be in createInstance function (image below). Instance is not created when content is empty and it's not created later when content is set to value.
The text was updated successfully, but these errors were encountered: