HomePhabricator
Diffusion Comm d4c7ad457a7b

[web] Handle new messages when in edit mode

Description

[web] Handle new messages when in edit mode

Summary: If the user edits the message, and new messages appear, we want the modal to stay in place. I blocked scrolling to the bottom when the user is in the edit mode.

Test Plan:

  • Opened the same thread in two browsers.
  • Entered edit mode in one.
  • Send a message from the second browser.
  • Checked if the modal stays in place.

Reviewers: michal, inka

Reviewed By: michal

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7850

Details

Provenance
kosmydel <kukubaczek@gmail.com>Authored on May 17 2023, 3:55 AM
Reviewer
michal
Differential Revision
D7850: [web] Handle new messages when in edit mode
Parents
rCOMMa4656e7417fb: [web] Prevent user from closing the tab with unsaved edits
Branches
Unknown
Tags
Unknown