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

[Bug Report][3.7.1] v-tooltip directive not handling boolean as documented #20463

Open
tvogel opened this issue Sep 11, 2024 · 1 comment
Open
Assignees
Labels
D: tooltip T: bug Functionality that does not work as intended/expected
Milestone

Comments

@tvogel
Copy link

tvogel commented Sep 11, 2024

Environment

Vuetify Version: 3.7.1
Vue Version: 3.5.4
Browsers: Firefox 129.0
OS: Linux x86_64

Steps to reproduce

Take a look at the example, hover the three text fields to trigger the tool-tips.

Expected Behavior

As documented:
true should show a tool-tip, content should be the inner text, Test true in this case.

false should not show a tool-tip.

undefined is not documented, least surprise would be to behave as if v-tooltip was not specified, so no tool-tip should be shown.

Actual Behavior

true shows a tool-tip but the content is empty.

false also shows a tool-tip with empty content.

undefined does show a tool-tip and the content is all inner HTML (including the "Test undefined" which should only be shown for true).

Reproduction Link

https://play.vuetifyjs.com/#...

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected D: tooltip labels Sep 11, 2024
@KaelWD KaelWD self-assigned this Sep 11, 2024
@KaelWD KaelWD added this to the v3.7.x milestone Sep 11, 2024
@KaelWD
Copy link
Member

KaelWD commented Sep 17, 2024

and the content is all inner HTML

This bit was fixed already by ca49443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D: tooltip T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants