1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Autofocus first input for Search Token and Custom Token (#9562)

This commit is contained in:
David Walsh 2020-10-12 16:10:51 -05:00 committed by GitHub
parent bdd6416ba0
commit a3b434df46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ class AddToken extends Component {
onChange={(e) => this.handleCustomAddressChange(e.target.value)}
error={customAddressError}
fullWidth
autoFocus
margin="normal"
/>
<TextField

View File

@ -74,6 +74,7 @@ export default class TokenSearch extends Component {
onChange={(e) => this.handleSearch(e.target.value)}
error={error}
fullWidth
autoFocus
startAdornment={this.renderAdornment()}
/>
)