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

pull/2028/head
wmwragg 2016-08-26 15:08:47 +01:00
parent 5467fd89d8
commit 5b9d3b119f
1 changed files with 3 additions and 2 deletions

View File

@ -160,9 +160,10 @@ var RoomSubList = React.createClass({
} }
this.props.onShowMoreRooms(); 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) { tsOfNewestEvent: function(room) {