mirror of https://github.com/vector-im/riot-web
select any existing filter text on ctrl-k
parent
a5bd8bd034
commit
1803a0df9e
|
@ -108,6 +108,7 @@ module.exports = React.createClass({
|
||||||
if (ctrlCmdOnly) {
|
if (ctrlCmdOnly) {
|
||||||
if (this.refs.search) {
|
if (this.refs.search) {
|
||||||
this.refs.search.focus();
|
this.refs.search.focus();
|
||||||
|
this.refs.search.select();
|
||||||
}
|
}
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue