praveenjuge / kutty

Kutty is a tailwind plugin for building web applications. It has a set of accessible and reusable components that are commonly used in web applications.
https://kutty.netlify.app
MIT License
833 stars 44 forks source link

Tooltips show up twice after some time #32

Closed Destaq closed 3 years ago

Destaq commented 3 years ago

If you create a tooltip using Kutty, after a few seconds have passed, a tooltip will also show up using the default CSS pointer event.

This action cannot be overcome without also disabling Kutty tooltip (see this StackOverflow post).

If you go to Kutty Docs and hover over a tooltip for some time you can see it also shows up. Demonstrated in image below.

Ideal solution would be to use a different HTML element parameter than title for the x-data title, so that this "double tooltip title" error doesn't show up.

image

praveenjuge commented 3 years ago

Good catch 👍

We should remove the native title attribute's content dynamically like how bootstrap does. So that we don't need to change the syntax.

I'll do this with the next release!

praveenjuge commented 3 years ago

Fixed in release 0.5.0