@@ -41,7 +42,9 @@ class StatusList extends ImmutablePureComponent {
}elseif (this.props.onScroll){
this.props.onScroll();
}
}
},200,{
trailing:true,
});
componentDidMount (){
this.attachScrollListener();
...
...
@@ -49,8 +52,16 @@ class StatusList extends ImmutablePureComponent {
}
componentDidUpdate (prevProps){
if ((prevProps.statusIds.size<this.props.statusIds.size&&prevProps.statusIds.first()!==this.props.statusIds.first()&&!!this._oldScrollPosition)&&this.node.scrollTop>0){