-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading button should be disabled #1744
Comments
+1 |
When you say disabled do you mean specifically |
@jlukic: I think he means when it has class |
Yes, like @ph7vc wrote but perhapes also not fire any mouse / click events. I guess |
I understand. I'll take a look at loading buttons again in the default theme. Perhaps there's some middle ground for loading thats an opacity a notch above disabled. At the very least it should be a variable. |
Loading will no longer receive events in default theme. Added variables for loading opacity and pointer-events. Available in |
Awesome, thanks 👍 |
I think that a
loading
button should also be disabled (without additional styling). I find it a much more common use case than a loading button that can be interacted with.Moreover, achieving both is not possible by simply setting
disabled loading
sincedisabled
changes the color of the button. So if I have a colored loading button, settingdisabled
makes it grey.If making this breaking change is impossible, then perhaps introduce a new attribute
muted
(disabled
andactive
were taken :) ) that when added will achieve the same...What do you think ?
The text was updated successfully, but these errors were encountered: