Closed tats-u closed 4 hours ago
Thank you @tats-u
for reporting issues. It helps daisyUI a lot ๐
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
Disabled button disables everything including hover.
pointer-events: none;
There's no other way to disable all events. Without this, you would need to manually disable events in JS or replace the button with a fake button.
To show a tooltip, put the button in a wrapper:
https://play.tailwindcss.com/b8EjL9imA7
Let me know if you have a question.
What version of daisyUI are you using?
No response
Which browsers are you seeing the problem on?
Chrome, Firefox
Reproduction URL
https://codepen.io/tats-u/pen/wvVLOJE
Describe your issue
tooltip
forbtn
doesn't work if combined withbtn-disabled
class ordisabled
attribute. You want to describe why the button is disabled by a tooltip.