Lower scroll threshold to fix load more not triggering. (#576)

* Lower scroll threshold to fix load more not triggering.

fixes #575
This commit is contained in:
softsimon 2021-06-24 18:20:20 -04:00 committed by GitHub
parent a806ee727e
commit 9ee1d8c56f

View File

@ -78,7 +78,7 @@ export class TransactionsListComponent implements OnInit, OnChanges {
const scrollTop = document.documentElement.scrollTop;
if (scrollHeight > 0){
const percentageScrolled = scrollTop * 100 / scrollHeight;
if (percentageScrolled > 90){
if (percentageScrolled > 70){
this.loadMore.emit();
}
}