You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a specific approach where all my buttons should follow the same aspect while with disabled attribute. In that case, we should need to disable any style interaction when hovering. I think that would be a great DX improvement if we could handle more elements being applied into the same rules, or just to pseudo-class.
Typically you'd know when you're setting the disabled prop and can use the prop value as a condition to set the relevant disabled styles, rather than needing a CSS selector.
Describe the feature request
I have a specific approach where all my buttons should follow the same aspect while with
disabled
attribute. In that case, we should need to disable any style interaction when hovering. I think that would be a great DX improvement if we could handle more elements being applied into the same rules, or just to pseudo-class.The current approach
This approach is what is working now:
Proposal
What I proposing is handle all these pseudo-class into just one object, for example:
The text was updated successfully, but these errors were encountered: