mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
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:
commit
9de8148dfc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue