From 1803a0df9e0edf188510ca7efcbbf18cc04adc3e Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 20 Apr 2017 00:04:08 +0100 Subject: [PATCH] select any existing filter text on ctrl-k --- src/components/structures/SearchBox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/SearchBox.js b/src/components/structures/SearchBox.js index fb5beab1cd..a3848dcc44 100644 --- a/src/components/structures/SearchBox.js +++ b/src/components/structures/SearchBox.js @@ -108,6 +108,7 @@ module.exports = React.createClass({ if (ctrlCmdOnly) { if (this.refs.search) { this.refs.search.focus(); + this.refs.search.select(); } handled = true; }