Fix a flaky test in the timelinepanel code
Sometimes it was possible for there to be a scroll event before the initial pagination completed, which then upset the rest of the test. Just give it a few ms to sort itself out instead.
This commit is contained in:
parent
3e93930dcc
commit
1139dd2be5
2 changed files with 14 additions and 8 deletions
|
@ -350,9 +350,9 @@ var TimelinePanel = React.createClass({
|
|||
});
|
||||
},
|
||||
|
||||
onMessageListScroll: function() {
|
||||
onMessageListScroll: function(e) {
|
||||
if (this.props.onScroll) {
|
||||
this.props.onScroll();
|
||||
this.props.onScroll(e);
|
||||
}
|
||||
|
||||
if (this.props.manageReadMarkers) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue