-
Notifications
You must be signed in to change notification settings - Fork 55
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
Button loading prop should not disable button #392
Comments
@areddon I think it would be less about flexibility and more about UX. If a button is loading, it's essentially in a "skeleton" state right? |
@jendowns I think UX could solve it, regardless I do not think it should disable it by default. For our use case. We render a Once the data loads, both To indicate to the user that the Is the type changing a defect or expected? |
Yeah it was purposely done. I was curious in the scenario you outlined above...
Seems like you want to show the user that something is loading but also give them a chance to kinda, sorta, halfway interact with it? 🤔 Why allow the interaction at all? If it's not loaded, why would they even be able to open the panel at all? |
We need to be able to indicate to the user that content is loading even when the
They might add a filter via the
They should still be able to expand/collapse the |
Thanks @areddon -- is this coming from a design you received? I'm just wondering about some of the interactions you are describing above. I've never seen a design that has something partially loaded that allows interaction (to clarify, when it is a true "skeleton" type state or has a loading indicator). |
Just spoke to Alex in Slack about this & saw a demo of the interactions he's referring to. Given his situation, I think it makes sense to go along with this & allow folks to toggle off |
🎉 This issue has been resolved in version 1.22.0-prerelease.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.22.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Request
The
loading
prop on theButton
component disables the button. I don't believe that this should be the default behavior. Let the consumer decide whether to disable the button or not. If they already pass in a prop to setloading
, they can use the same one to disable if they want.Not sure if it is a bug or desired behavior, but when setting
loading
to true, the button changes to a ghost button, regardless of initial type.The text was updated successfully, but these errors were encountered: