Skip to content

Commit

Permalink
Merge pull request #26310 from namhihi237/fix-25796-cursor-on-preview…
Browse files Browse the repository at this point in the history
…-attachment

fix cursor preview
  • Loading branch information
srikarparsi authored Sep 1, 2023
2 parents 3c73b7e + a658fdf commit 567c8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Attachments/AttachmentCarousel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function AttachmentCarousel({report, reportActions, source, onNavigate, setDownl
file={item.file}
isAuthTokenRequired={item.isAuthTokenRequired}
isFocused={activeSource === item.source}
onPress={() => canUseTouchScreen && setShouldShowArrows(!shouldShowArrows)}
onPress={canUseTouchScreen ? () => setShouldShowArrows(!shouldShowArrows) : undefined}
isUsedInCarousel
/>
),
Expand Down

0 comments on commit 567c8c6

Please sign in to comment.