Tooltip: loose reactivity when the content is empty #3163
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When the tooltip is empty, there is no way we can set content afterward.
Here is a working example: https://codesandbox.io/s/elastic-darkness-yity6s?file=/src/TooltipDemo.vue
Reproducer
No response
PrimeVue version
3.18.0
Vue version
3.x
Language
ALL
Build / Runtime
Vue CLI App
Browser(s)
Chrome 106
Steps to reproduce the behavior
Create a tooltip with dynamic value (from a computed for instance). Make this value empty, then add content to the value.
Expected behavior
The Tooltip should not be displayed when the value is empty and should be displayed the value when we add content afterward. This is not the case (see https://codesandbox.io/s/elastic-darkness-yity6s?file=/src/TooltipDemo.vue)
The text was updated successfully, but these errors were encountered: