From 15eef8e146a73b9d7b78d50c2117c973b613bb61 Mon Sep 17 00:00:00 2001 From: stani Date: Wed, 15 May 2024 02:14:41 +0300 Subject: [PATCH] fix emoji auto select --- .../ComposerWithSuggestions/ComposerWithSuggestions.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx index 3120bbe9bed..b2df5488248 100644 --- a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx +++ b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx @@ -485,6 +485,7 @@ function ComposerWithSuggestions( debouncedSaveReportComment.cancel(); isCommentPendingSaved.current = false; + setSelection({start: 0, end: 0}); updateComment(''); setTextInputShouldClear(true); if (isComposerFullSize) {