Skip to content

Commit

Permalink
run onscroll handler after scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
w-4 committed Oct 13, 2020
1 parent a48d386 commit 5485aea
Show file tree
Hide file tree
Showing 3 changed files with 68,424 additions and 26 deletions.
68,446 changes: 68,421 additions & 25 deletions js/dist/forum.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions js/src/forum/components/PostStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ export default class PostStream extends Component {

this.calculatePosition();
this.stream.paused = false;
// Run the onscroll handler to check if we need to load more posts after scrolling.
this.onscroll();
});
}

Expand Down

0 comments on commit 5485aea

Please sign in to comment.