Prevent Composer Text Loss When Typing During Message Send

When a user sends a message and begins typing a new one before the previous send operation completes, the message composer may unexpectedly clear the newly typed text.

This occurs due to the internal composerRestore mechanism, which is intended to restore user input after the SDK clears the composer on send completion. Currently, the restoration process triggers a component remount with the correct initialComposerText. However, it is immediately followed by a reset of composerRestore, causing a second remount without the restored text—resulting in text loss.

Please authenticate to join the conversation.

Upvoters
Status

New

Board

💡 Feature Request

Subscribe to post

Get notified by email when there are changes.