Click on stuck header scrolls to that header, collapses expands for none stuck header

This commit is contained in:
wmwragg 2016-08-26 15:08:47 +01:00
parent 5467fd89d8
commit 5b9d3b119f

View File

@ -160,9 +160,10 @@ var RoomSubList = React.createClass({
}
this.props.onShowMoreRooms();
this.props.onHeaderClick(isHidden);
} else {
this.props.onHeaderClick(isHidden, this.refs.header.dataset.originalPosition);
}
ev.persist();
this.props.onHeaderClick(ev, isHidden);
},
tsOfNewestEvent: function(room) {