Merge pull request #809 from t3chguy/t3chguy/autofocus_composer_on_jump_to_bottom

focus on composer after jumping to bottom
This commit is contained in:
Matthew Hodgson 2017-04-21 01:27:34 +01:00 committed by GitHub
commit 9de8148dfc

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