Skip to content
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

Authenticator: "Create Account" Button not spinning during PreSignupLambda execution #5020

Open
4 tasks done
johnpc opened this issue Feb 19, 2024 · 1 comment
Open
4 tasks done
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component bug Something isn't working

Comments

@johnpc
Copy link

johnpc commented Feb 19, 2024

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
screen recording

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:

git clone --single-branch --branch no-spinner https://github.com/johnpc/autoconfirm-signup-authenticator-bug no-spinner
cd no-spinner
npm install
npx amplify sandbox

Then run

npm run dev

Visit http://localhost:3000 and attempt to sign up. You'll notice that the spinner doesn't spin right away

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

@github-actions github-actions bot added the pending-triage Issue is pending triage label Feb 19, 2024
@reesscot reesscot changed the title Authenticator not spinning during PreSignupLambda execution Authenticator: "Create Account" Button not spinning during PreSignupLambda execution Feb 19, 2024
@esauerbo esauerbo added being-investigated An issue or a feature-request is being investigated bug Something isn't working Authenticator An issue or a feature-request for an Authenticator UI Component and removed pending-triage Issue is pending triage labels Feb 19, 2024
@esauerbo
Copy link
Contributor

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.

@reesscot reesscot removed the being-investigated An issue or a feature-request is being investigated label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants