From f7ca259300c95963e5f609dc33c4d7a623747240 Mon Sep 17 00:00:00 2001 From: tienifr Date: Tue, 28 Feb 2023 16:07:19 +0700 Subject: [PATCH 1/2] fix: move the onMouseDown to outside view --- src/pages/home/report/ReportActionCompose.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index 0efb256e8144..61c9cd2c8767 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -680,17 +680,13 @@ class ReportActionCompose extends React.Component { onEmojiSelected={this.addEmojiToTextBox} /> )} - + e.preventDefault()}> e.preventDefault()} disabled={this.state.isCommentEmpty || isBlockedFromConcierge || this.props.disabled || hasExceededMaxCommentLength} hitSlop={{ top: 3, right: 3, bottom: 3, left: 3, From 26cc51d534790cf9a72e6f995eeb48d9d9a4f7b7 Mon Sep 17 00:00:00 2001 From: tienifr Date: Wed, 1 Mar 2023 20:00:02 +0700 Subject: [PATCH 2/2] fix: add comments again --- src/pages/home/report/ReportActionCompose.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index 811f86fc8d0b..6af89e25dbb6 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -691,7 +691,12 @@ class ReportActionCompose extends React.Component { onEmojiSelected={this.addEmojiToTextBox} /> )} - e.preventDefault()}> + e.preventDefault()} + >