mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
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:
parent
6a4eee3711
commit
33a5be5a7d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue