remove logging
This commit is contained in:
parent
7cf4e40a5f
commit
4154a917e1
2 changed files with 0 additions and 4 deletions
|
@ -97,10 +97,8 @@ class InfiniteScroller {
|
|||
}
|
||||
snapBottom() {
|
||||
const scrollBottom = this.scrollBottom;
|
||||
console.log(scrollBottom);
|
||||
return () => {
|
||||
if (this.div && scrollBottom < 4) {
|
||||
console.log("snap");
|
||||
this.div.scrollTop = this.div.scrollHeight;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue