Skip to content

Commit

Permalink
TransactionList: Fix infinite loading on Cordova iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 28, 2019
1 parent 71f6582 commit b089a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/mobile/TransactionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ export default {
},
mounted() {
const checkLoadMore = () => {
const { scrollHeight, scrollTop, clientHeight } = document.documentElement;
if (scrollHeight - scrollTop === clientHeight) {
const { scrollHeight, clientHeight } = document.documentElement;
if (scrollHeight - window.scrollY === clientHeight) {
this.loadMore$.next(null);
}
};
Expand Down

0 comments on commit b089a7f

Please sign in to comment.