stormpath / stormpath-widget

Add beautiful login, registration, and multi-factor authentication screens to your app in only a few lines of code
https://docs.stormpath.com
Apache License 2.0
6 stars 2 forks source link

First field should get focus #141

Open nbarbettini opened 7 years ago

nbarbettini commented 7 years ago

If you open the Login or Registration views, the first field in the list should automatically get focus. Right now you have to click (in Chrome, at least).

nbarbettini commented 7 years ago

Some progress in branch 141-first-field-focus. Ran into the fact that the fields aren't rendered immediately (it's async after the viewModel is retrieved) and I haven't worked around that yet.