diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-14 14:54:15 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-15 02:00:18 +0800 |
commit | 997912a8f8647fed9ff10570e332ff84807907aa (patch) | |
tree | 64882d57462a41e1bd6fbf7d9f2c746240ca8bc6 /packages/instant/src | |
parent | b961cb195299ce6a091ae692ec815b52f6b89300 (diff) | |
download | dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar.gz dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar.bz2 dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar.lz dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar.xz dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.tar.zst dexon-sol-tools-997912a8f8647fed9ff10570e332ff84807907aa.zip |
fix(instant): fix tabbing into erc20 token selector
Diffstat (limited to 'packages/instant/src')
-rw-r--r-- | packages/instant/src/components/erc20_token_selector.tsx | 1 | ||||
-rw-r--r-- | packages/instant/src/components/ui/input.tsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/components/erc20_token_selector.tsx b/packages/instant/src/components/erc20_token_selector.tsx index d4a77c278..afa3f84c3 100644 --- a/packages/instant/src/components/erc20_token_selector.tsx +++ b/packages/instant/src/components/erc20_token_selector.tsx @@ -39,6 +39,7 @@ export class ERC20TokenSelector extends React.Component<ERC20TokenSelectorProps> width="100%" value={this.state.searchQuery} onChange={this._handleSearchInputChange} + tabindex={-1} /> <Container overflow="scroll" height="calc(100% - 90px)" marginTop="10px"> {_.map(tokens, token => { diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx index 2fb408db4..184f89066 100644 --- a/packages/instant/src/components/ui/input.tsx +++ b/packages/instant/src/components/ui/input.tsx @@ -3,6 +3,7 @@ import * as React from 'react'; import { ColorOption, styled } from '../../style/theme'; export interface InputProps { + tabindex?: number; className?: string; value?: string; width?: string; |