Skip to content

Commit

Permalink
Merge pull request #39002 from bernhardoj/fix/38878-focus-lost-when-c…
Browse files Browse the repository at this point in the history
…licking-edit-composer

Fix composer focus is lost when clicking the edit composer of a thread parent message
  • Loading branch information
amyevans authored Mar 27, 2024
2 parents f5087ec + b24eb8b commit ef39c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ function ReportActionItem({
return (
<PressableWithSecondaryInteraction
ref={popoverAnchorRef}
onPress={onPress}
onPress={draftMessage === undefined ? onPress : undefined}
style={[action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE ? styles.pointerEventsNone : styles.pointerEventsAuto]}
onPressIn={() => isSmallScreenWidth && DeviceCapabilities.canUseTouchScreen() && ControlSelection.block()}
onPressOut={() => ControlSelection.unblock()}
Expand Down

0 comments on commit ef39c00

Please sign in to comment.