fix: add autofocus to auth fields (#6483)

This commit is contained in:
Adam Stachowicz
2020-10-15 02:23:19 +00:00
committed by GitHub
parent 4b2fddd8ed
commit 65ea764b61
4 changed files with 15 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ export default class Oauth2 extends React.Component {
{
isAuthorized ? <code> { this.state.username } </code>
: <Col tablet={10} desktop={10}>
<input id="oauth_username" type="text" data-name="username" onChange={ this.onInputChange }/>
<input id="oauth_username" type="text" data-name="username" onChange={ this.onInputChange } autoFocus/>
</Col>
}
</Row>