Merge pull request #2014 from matrix-org/luke/fix-roomlist-headers-on-resize

Fix RoomSubList headers by re-commiting 1faecfd
This commit is contained in:
David Baker 2018-06-26 18:23:38 +01:00 committed by GitHub
commit fddb576c3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -611,7 +611,7 @@ module.exports = React.createClass({
const self = this;
return (
<GeminiScrollbarWrapper className="mx_RoomList_scrollbar"
autoshow={true} onScroll={self._whenScrolling} wrappedRef={this._collectGemini}>
autoshow={true} onScroll={self._whenScrolling} onResize={self._whenScrolling} wrappedRef={this._collectGemini}>
<div className="mx_RoomList">
<RoomSubList list={[]}
extraTiles={this._makeGroupInviteTiles(self.props.searchFilter)}