From 33a5be5a7ddc57542cbb56063e948eb33f5dbe6b Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 24 Jun 2021 18:20:20 -0400 Subject: [PATCH] Lower scroll threshold to fix load more not triggering. (#576) * Lower scroll threshold to fix load more not triggering. fixes #575 --- .../components/transactions-list/transactions-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.ts b/frontend/src/app/components/transactions-list/transactions-list.component.ts index bb54e77c3..dd7350954 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.ts +++ b/frontend/src/app/components/transactions-list/transactions-list.component.ts @@ -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(); } }