aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components/container')
-rw-r--r--src/client/react/components/container/Search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js
index f17a517..4517191 100644
--- a/src/client/react/components/container/Search.js
+++ b/src/client/react/components/container/Search.js
@@ -15,6 +15,7 @@ const mapDispatchToProps = dispatch => ({
},
onFocus: () => {
dispatch(focusChange(true));
+ document.querySelector('#search__input').select();
},
onBlur: () => {
dispatch(focusChange(false));