move typing notifications to WhoIsTypingTile, shown in ScrollPanel

This commit is contained in:
Bruno Windels 2018-11-12 16:09:51 +01:00
parent b0032b247d
commit 7df47cbc87
5 changed files with 261 additions and 0 deletions

View file

@ -637,6 +637,7 @@ module.exports = React.createClass({
render: function() {
const ScrollPanel = sdk.getComponent("structures.ScrollPanel");
const WhoIsTypingTile = sdk.getComponent("rooms.WhoIsTypingTile");
const Spinner = sdk.getComponent("elements.Spinner");
let topSpinner;
let bottomSpinner;
@ -666,6 +667,7 @@ module.exports = React.createClass({
stickyBottom={this.props.stickyBottom}>
{ topSpinner }
{ this._getEventTiles() }
<WhoIsTypingTile room={this.props.room} />
{ bottomSpinner }
</ScrollPanel>
);