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

Tooltip: loose reactivity when the content is empty #3163

Closed
nicolascvoodoo opened this issue Oct 26, 2022 · 0 comments
Closed

Tooltip: loose reactivity when the content is empty #3163

nicolascvoodoo opened this issue Oct 26, 2022 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nicolascvoodoo
Copy link

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)

@nicolascvoodoo nicolascvoodoo added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Oct 26, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.18.1 milestone Oct 28, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants