diff options
author | Matthew Shao <me@matshao.com> | 2017-03-04 22:44:13 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-03-04 22:44:13 +0800 |
commit | 6a3497f09c260de63c85ec26d5a366a6c55e3e88 (patch) | |
tree | 9f743802c6b60540278fc0cba65f928cc2b60499 /web/src/js/components | |
parent | 6479bd4e76ec46a14a6f0cb7c3c5c7e56f402b50 (diff) | |
download | mitmproxy-6a3497f09c260de63c85ec26d5a366a6c55e3e88.tar.gz mitmproxy-6a3497f09c260de63c85ec26d5a366a6c55e3e88.tar.bz2 mitmproxy-6a3497f09c260de63c85ec26d5a366a6c55e3e88.zip |
[web] Retain focus on input field after selecting. (#2085)
Diffstat (limited to 'web/src/js/components')
-rw-r--r-- | web/src/js/components/Header/FilterInput.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/src/js/components/Header/FilterInput.jsx b/web/src/js/components/Header/FilterInput.jsx index da2ba7e2..12479c10 100644 --- a/web/src/js/components/Header/FilterInput.jsx +++ b/web/src/js/components/Header/FilterInput.jsx @@ -88,6 +88,7 @@ export default class FilterInput extends Component { selectFilter(cmd) { this.setState({value: cmd}) + ReactDOM.findDOMNode(this.refs.input).focus() } blur() { |