Vuesax: tooltip don't work

Created on 28 Feb 2019  路  18Comments  路  Source: lusaxweb/vuesax

tooltip don't work
v3.8.24

JSFiddle

Most helpful comment

I have also discovered that tooltip only works if it contains two child nodes.

Following Snippet works:

<vs-tooltip>
    <vs-button>Buttom</vs-button>
    <span>&nbsp;</span>
</vs-tooltip>

All 18 comments

I'm also having this issue.

[email protected]
[email protected]

It's like flickering everytime I hover to any object.

Same problem.
Any update on this?

[email protected]
[email protected]

So I copied the source code of vsTooltip.vue into a new component, linted it and replaced all warnings and errors like using == instead of === and it just... works?
Maybe its due to webpack having trouble transpiling == ?

We change the component with the suggestions and some details should work as expected, please notify if there is any problem

@luisDanielRoviraContreras
[email protected]
[email protected]

the tooltip still flicks every time when I hover to any object.

Still not working.

it works for me, please can do an example or a gif to see the problem better

Hello,

same issue here, tooltip is flashing half a second, and disapear.

Still not working on 3.8.61...

Same Issue for me too,
Still waiting for a fix

On the component vsTooltip.vue, if you remove the updated() hook it works

updated () {
   let nodes = this.$refs.convstooltip.childNodes.length
   if (nodes === 1) {
     // this.activeTooltip = false  //Comment this line
   }
},

And it works, that's how i fixed it anyway

Hello,

I'm currently using vuesax on our project. I'm trying to implement vuesax components, and I have a question

Why you dont export the components for using? Because this is not a good solution to change on node_modules/vuesax. Anyone have more solution to this?

Many thanks

On the component vsTooltip.vue, if you remove the updated() hook it works

updated () {
   let nodes = this.$refs.convstooltip.childNodes.length
   if (nodes === 1) {
     // this.activeTooltip = false  //Comment this line
   }
},

And it works, that's how i fixed it anyway

I tried your suggestions, it worked. Thanks!

I have also discovered that tooltip only works if it contains two child nodes.

Following Snippet works:

<vs-tooltip>
    <vs-button>Buttom</vs-button>
    <span>&nbsp;</span>
</vs-tooltip>

The DOM does update with only one child node, but it looks like it's set to display: none; until you add a second node.

Tested in 3.11.13

Could we just remove this updated hook?... It serves no purpose except to annoy us, the logic in it is completely wrong..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jbienesdev picture jbienesdev  路  3Comments

CaptainCannabis picture CaptainCannabis  路  3Comments

alexflorea2 picture alexflorea2  路  4Comments

fahada95 picture fahada95  路  4Comments

danyakov picture danyakov  路  3Comments