Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,12 @@ const CONST = {
GB: 'GB',
IT: 'IT',
},
SWIPE_DIRECTION: {
DOWN: 'down',
LEFT: 'left',
RIGHT: 'right',
UP: 'up',
},
DESKTOP_DEEPLINK_APP_STATE: {
CHECKING: 'checking',
INSTALLED: 'installed',
Expand Down
1 change: 1 addition & 0 deletions src/components/AttachmentModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ function AttachmentModal({
}
}}
propagateSwipe
swipeDirection={shouldUseNarrowLayout ? CONST.SWIPE_DIRECTION.RIGHT : undefined}
Copy link
Contributor

@rayane-d rayane-d Mar 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, This caused issue #57825
Fixed in PR #57856

initialFocus={() => {
if (!submitRef.current) {
return false;
Expand Down
1 change: 1 addition & 0 deletions src/components/Search/SearchRouter/SearchRouterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function SearchRouterModal() {
popoverAnchorPosition={{right: 6, top: 6}}
fullscreen
propagateSwipe
swipeDirection={shouldUseNarrowLayout ? CONST.SWIPE_DIRECTION.RIGHT : undefined}
shouldHandleNavigationBack={isMobileChrome()}
onClose={closeSearchRouter}
onModalHide={() => setShouldHideInputCaret(isMobileWebSafari)}
Expand Down