Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

click through to the club captain application form while login is getting handled leads to odd UI #2156

Open
Pomax opened this issue Aug 31, 2016 · 0 comments

Comments

@Pomax
Copy link
Contributor

Pomax commented Aug 31, 2016

  • be signed out
  • click to the club captiain application form
  • sign in
  • once you get redirected back to learning.moz quickly click on the application form button again
  • the sidebar and the application form use the same login status component, so if you're quick enough (or login's handled slowly enough) the application form can load its "you need to sign in" code, which has the same listening for login changes as the sidebar code. As such, both of them see the login completion and switch over to the logged in view: your user name and a pulldown menu.

Solution: make the "you need to sign in" form view in the ClubForm.jsx component switch over to StepOne if it sees a successful login happening while it's active.

Rare, but reproducible.

screenshot 40

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

No branches or pull requests

1 participant