qTip2 / qTip2

qTip2 - Pretty powerful tooltips
MIT License
2k stars 465 forks source link

Qtip doesn't disappear on disabled controls #848

Open AshutoshTiwari2 opened 5 years ago

AshutoshTiwari2 commented 5 years ago

Hi Team, I facing issue with qtip on disabled input controls with version 3.0.3. When I hover on control tool-tip appears but when I remove the mouse pointer from the control tool tip still appears. Tool tip should be hide in this case. Please suggest what should I do to resolve this.

Thanks Ashutosh Tiwari

timtucker commented 5 years ago

Most browsers don't create mouseover events for disabled elements. You can work around that by putting the tooltip on another element (i.e.: span, div, label) that surrounds the input.

AshutoshTiwari2 commented 5 years ago

Wrapping of textbox control around a div works fine. But wrapping button or file type input does not work even after using mouseenter event for showing tooltip. I have created a sample here. Please suggest a solution for this.

AshutoshTiwari2 commented 5 years ago

Please find updated sample here.