react-tippy icon indicating copy to clipboard operation
react-tippy copied to clipboard

Sets property title, when Tooltip is disabled

Open PavelHasala opened this issue 8 years ago • 2 comments

If I am using condition to enable/disable tooltip, it should not set title property to. What will happen, is even that condition is now met and tooltip is not active, system title still shows the the message. Only workaround is to use html prop.

screen shot 2018-01-15 at 14 09 18

PavelHasala avatar Jan 15 '18 13:01 PavelHasala

Appears to be caused by this https://github.com/tvkhoa/react-tippy/blob/master/src/Tooltip/js/tippy.js#L391

Not sure why that is there.

nnnoel avatar Jan 18 '18 02:01 nnnoel

Thanks for mentioning the html workaround. I will use that for now until the issue is resolved.

timminata avatar Jan 23 '18 12:01 timminata