floating-vue
floating-vue copied to clipboard
Returning a boolean false on the content property of a tooltip renders 'false'
If I set the tooltip value as an object, with the property content being the result of a function witch returns a string or false, the string 'false' is rendered if boolean false is the return of the function.
Already got an idea of what is happening. I'll make a PR soon
also returning an empty string or null would still display the tooltip. I'd expect to be able to cancel the tooltip conditionally based on something that only gets computed on hover. More context here: https://github.com/nextcloud/nextcloud-vue/issues/1567#issuecomment-725535802
ah, I found this which claims that a falsy value should hide the tooltip: https://github.com/Akryum/v-tooltip/issues/136