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

feature/default_network_editable
David Walsh 4 years ago committed by GitHub
parent bdd6416ba0
commit a3b434df46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui/app/pages/add-token/add-token.component.js
  2. 1
      ui/app/pages/add-token/token-search/token-search.component.js

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

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

Loading…
Cancel
Save