mirror of https://github.com/vector-im/riot-web
focus on composer after jumping to bottom
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
35a16edccc
commit
be9b858193
|
@ -1254,6 +1254,7 @@ module.exports = React.createClass({
|
||||||
// jump down to the bottom of this room, where new events are arriving
|
// jump down to the bottom of this room, where new events are arriving
|
||||||
jumpToLiveTimeline: function() {
|
jumpToLiveTimeline: function() {
|
||||||
this.refs.messagePanel.jumpToLiveTimeline();
|
this.refs.messagePanel.jumpToLiveTimeline();
|
||||||
|
dis.dispatch({action: 'focus_composer'});
|
||||||
},
|
},
|
||||||
|
|
||||||
// jump up to wherever our read marker is
|
// jump up to wherever our read marker is
|
||||||
|
|
Loading…
Reference in New Issue