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

Unexpected API Call Triggered by Cancel Button on Login Screen #4396

Open
amitamrutiya opened this issue Apr 30, 2024 · 1 comment
Open

Unexpected API Call Triggered by Cancel Button on Login Screen #4396

amitamrutiya opened this issue Apr 30, 2024 · 1 comment

Comments

@amitamrutiya
Copy link

Description:

On the login screen, clicking the "Cancel" button causes the "Next" button to display a loading state momentarily before returning to the previous screen. However, this behavior triggers an API call for login with empty details, which is unexpected and unnecessary.

Expected Behavior

When the user clicks the "Cancel" button, they should be immediately redirected back to the previous screen without triggering any API calls.

Steps to Reproduce

  1. Navigate to the login screen.
  2. Press the "Cancel" button.
  3. Observe that the "Next" button briefly shows a loading state.

Screenshot
Screencast from 30-04-24 11 24 46 PM IST

This issue results in an unnecessary API call upon clicking the "Cancel" button, which should be addressed to improve the user experience.If this issue seems valid, then I am happy to contribute.

@nicolasburtey
Copy link
Member

also a good issue to tackle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants