-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web] Scrolling to the edited message when it overflows
Summary: Currently, if the user wants to edit a message which overflows (near the top or bottom of the `ChatMessageList`), the edit box may also overflow. This diff addresses that, if the message edit box may overflow, we first scroll so that the edited message is in the center, and then open the edit box. Test Plan: Run the app on Chrome, and checked: - entered edit mode for a message which overflows, checked if the browser scrolled to it, and opened the edit box, - entered edit mode for a message in the middle, checked if the edit box was opened instantly and without scrolling, - added new lines for the edited message, and checked if it still fits in the container. Videos: {F564723} {F564724} Reviewers: michal, inka, ashoat Reviewed By: inka, ashoat Subscribers: kamil, ashoat, tomek, atul Differential Revision: https://phab.comm.dev/D8027
- Loading branch information
Showing
11 changed files
with
273 additions
and
25 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
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.