Skip to content

Commit

Permalink
test autoFocus only for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
toddkao committed Jan 30, 2025
1 parent 510dc7c commit fde56b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const AssetAndChainSelectorModalSearchInput = ({

<StyledSearchInput
ref={inputRef}
autoFocus={mobile ? true : false}
style={{ paddingLeft: asset ? undefined : 30 }}
type="text"
placeholder={asset ? "Search networks" : "Search for an asset"}
Expand Down

0 comments on commit fde56b3

Please sign in to comment.