How to disable hover for a disabled button? #3684
karthickthankyou
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was creating a reusable button component. For disabled state, I was able to do using the below classes.
disabled:opacity-50 disabled:cursor-not-allowed
But still, the hover is working which looks odd. I could not immediately find a way to disable that.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions