forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MM-11692 Add infinite scroll to webapp (mattermost#2032)
* MM-11692 Add infinite scroll * Use react new lifecycle methods. * Decrease box value variable for layout trashing. * Add a fallback to manual retry after a 3 auto retries * Update loader styling * Load posts when half of clientHeight * Remove requestAnimationFrame for load posts API * Remove required for dimensions as it can be not present for local messages * Add absolute position back * Remove couple of scroll corrections * Correct scroll when last message is posted * Fix for no dimensions * Add a fix to check for images object in OG data
- Loading branch information
1 parent
6bef520
commit e005b58
Showing
10 changed files
with
199 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.