Skip to content

Commit

Permalink
Merge pull request #42180 from StaniMilko/issue-41433
Browse files Browse the repository at this point in the history
Chat - Emojis auto-selected after sending a message with a space before choosing from composer
  • Loading branch information
techievivek authored May 28, 2024
2 parents 925340d + 15eef8e commit 2588312
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ function ComposerWithSuggestions(
debouncedSaveReportComment.cancel();
isCommentPendingSaved.current = false;

setSelection({start: 0, end: 0});
updateComment('');
setTextInputShouldClear(true);
if (isComposerFullSize) {
Expand Down

0 comments on commit 2588312

Please sign in to comment.