-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Move message list scroll when the last message is edited (#674)
* remove the duplicated functions: handleMessageHeightChange, and handleMessageListHeightChange AND combine them into one function: moveScroll * add optional params to the moveScroll for moving the scroll only when the last message is reached the bottom * move scroll only when the last message's updatedAt is changed --------- Co-authored-by: Ahyoung Ryu <irene.ryu@sendbird.com>
- Loading branch information
Showing
2 changed files
with
15 additions
and
22 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