Open johnpc opened 6 months ago
Hi @johnpc thanks for creating this issue! We're adding this to our roadmap, and we'll update you once we get a fix out.
Is there any update on this or a workaround? I'm running into the same issue after upgrading from amplify v5 and I have not been able to find any solutions
We have a pre signup lambda trigger set in cognito that auto-confirms the user. The code for it was copied verbatim from the AWS cognito docs here
I'm also running into an issue with the signup where any error message will only be displayed once. For example, a user that already exists attempts to signup, and is shown the error message returned by Cognito with the UsernameExistsException
. But, if you clear that error message and then hit signup again, you are not shown any error message. I'm assuming this issue may be related since it's only happening on signup and not signin?
This, along with the no spinner showing up, is a pretty big blocker for us at the moment so any help would be much appreciated!
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Next.js
What browsers are you seeing the problem on?
Chrome, Safari
Which region are you seeing the problem in?
No response
Please describe your bug.
I have a long-ish running PreSignUp lambda function. When the user clicks "sign up" there is no indication that they successfully clicked the button.
Screen recording: https://github.com/aws-amplify/amplify-ui/assets/4824042/0b4e71a2-1874-4cce-b1f7-e22e29005cdd
After the pre signup lambda completes, THEN the spinner starts spinning.
What's the expected behaviour?
Ideally, the spinner would start spinning right away before the pre signup lambda is invoked
Help us reproduce the bug!
Clone the repo, install dependencies, and deploy resources:
Then run
Visit http://localhost:3000 and attempt to sign up. You'll notice that the spinner doesn't spin right away
Code Snippet
Console log output
No response
Additional information and screenshots
No response