aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send-token
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-09-23 05:17:05 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-09-26 09:30:56 +0800
commit56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7 (patch)
tree0c5c6261d5ce37ba999726dab78678df7daea870 /ui/app/components/send-token
parenteae40e054418c195310224194d9435ccfbf14e46 (diff)
downloadtangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar.gz
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar.bz2
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar.lz
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar.xz
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.tar.zst
tangerine-wallet-browser-56697ea9a4399ecaccf33ae3ae1a42283bdc9dc7.zip
Select all in to and from of send screens, instead of clearing on focus.
Diffstat (limited to 'ui/app/components/send-token')
-rw-r--r--ui/app/components/send-token/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/send-token/index.js b/ui/app/components/send-token/index.js
index cc77c2699..60fe2ac8b 100644
--- a/ui/app/components/send-token/index.js
+++ b/ui/app/components/send-token/index.js
@@ -181,7 +181,7 @@ SendTokenScreen.prototype.renderToAddressInput = function () {
to: e.target.value,
errors: {},
}),
- onFocus: () => to && this.setState({ to: '' }),
+ onFocus: event => to && event.target.select(),
}),
h('datalist#addresses', [
// Corresponds to the addresses owned.