forked from matrix/element-web
Click on stuck header scrolls to that header, collapses expands for none stuck header
This commit is contained in:
parent
5467fd89d8
commit
5b9d3b119f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue