-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add loading indicator to Authenticator components #2311
Comments
@aldo-roman We'd also like to have loading indicators for sign in (as well as other asynchronous requests). Is this on the roadmap? Specifically we're looking for this in the aws-amplify-react-native repo. |
Not in the roadmap AFAIK, but I agree this is a good UX pattern that we should apply. Adding it should not be that hard, the main blocker I see is there is no icon gallery for AWS Amplify. |
FYI, we have started an RFC discussion for a proposed Amplify UI Component refactor to increase customizability and flexibility for our components. Please feel free to add any additional comments to the following issue: |
Any update on this indicator? The short pause is really not good for user experience. |
A fix for the Sign In button is the following code.
` |
@mrcoles This should now be part of the new UI components introduced recently. For more information - https://docs.amplify.aws/ui/auth/authenticator/q/framework/react For any issues or suggestion for enhancements, feel free to open up a new issue. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Is your feature request related to a problem? Please describe.
When I submit an Authenticator form (using React), there is no indication that it is doing anything until the request completes. This can be confusing to users who do not see any visual feedback and aren’t sure if their submit worked or not.
Furthermore, this is exacerbated by incomplete form functionality in these components: #2310
Describe the solution you'd like
Introduce a loading state to the forms that shows it is performing an action. This could be a spinning indicator or the button text could change to say that it’s doing something or something else. However, some indication that it is working would be fantastic.
Describe alternatives you've considered
As an alternative, I would have to build my own forms.
The text was updated successfully, but these errors were encountered: