focus on composer after jumping to bottom

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-04-21 01:06:00 +01:00
parent 35a16edccc
commit be9b858193
1 changed files with 1 additions and 0 deletions

View File

@ -1254,6 +1254,7 @@ module.exports = React.createClass({
// jump down to the bottom of this room, where new events are arriving
jumpToLiveTimeline: function() {
this.refs.messagePanel.jumpToLiveTimeline();
dis.dispatch({action: 'focus_composer'});
},
// jump up to wherever our read marker is