mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Autofocus first input for Search Token and Custom Token (#9562)
This commit is contained in:
parent
bdd6416ba0
commit
a3b434df46
@ -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…
Reference in New Issue
Block a user