Skip to content

Commit 648b2d6

Browse files
authored
Merge pull request Expensify#69050 from dominictb/fix/69047
[CP Staging] fix: copy to clipboard shows unnecessarily
2 parents 86123f4 + 0afdb92 commit 648b2d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/MenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ function MenuItem({
679679
onPress={shouldCheckActionAllowedOnPress ? callFunctionIfActionIsAllowed(onPressAction, isAnonymousAction) : onPressAction}
680680
onPressIn={() => shouldBlockSelection && shouldUseNarrowLayout && canUseTouchScreen() && ControlSelection.block()}
681681
onPressOut={ControlSelection.unblock}
682-
onSecondaryInteraction={copyValue ? secondaryInteraction : onSecondaryInteraction}
682+
onSecondaryInteraction={copyable && !deviceHasHoverSupport ? secondaryInteraction : onSecondaryInteraction}
683683
wrapperStyle={outerWrapperStyle}
684684
activeOpacity={!interactive ? 1 : variables.pressDimValue}
685685
opacityAnimationDuration={0}

0 commit comments

Comments
 (0)