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

Input error state does not get reset when changing page #843

Closed
surjikal opened this issue Jan 30, 2017 · 0 comments
Closed

Input error state does not get reset when changing page #843

surjikal opened this issue Jan 30, 2017 · 0 comments
Milestone

Comments

@surjikal
Copy link

surjikal commented Jan 30, 2017

On Google Chrome, with Lock version 10.10.2, the input error state does not get reset on transition to a different page, and it seems to mess with the transitions. It is a big issue for me because this might be the first thing a user sees, and it looks quite unprofessional.

To reproduce:

  1. Go to https://auth0.com/lock
  2. Scroll to the web form example
  3. Hit the "Login" button, errors should show up next to the inputs
  4. Hit the "Reset password" link.

You should see that the input is shown during the transition to the password reset page, and the error state of the previous page is applied to the password reset input.

Transition from login to password reset

Now hit the back button, and you'll see that the password reset input is visible during the transition (it's over the bottom button), and the error state is only applied to the first input of the login page.

Transition from password reset to login

I think a good fix could be to just clear the input error state when you change the page.

@surjikal surjikal changed the title Input error state Input error state does not get reset when changing page Jan 30, 2017
@hzalaz hzalaz added this to the v10-Next milestone Jan 30, 2017
@glena glena modified the milestones: v10-Next, v10.11.0 Jan 30, 2017
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

3 participants