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: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3741,7 +3741,7 @@ PODS:
- RNGoogleSignin (10.0.1):
- GoogleSignIn (~> 7.0)
- React-Core
- RNLiveMarkdown (0.1.333):
- RNLiveMarkdown (0.1.334):
- boost
- DoubleConversion
- fast_float
Expand Down Expand Up @@ -4887,7 +4887,7 @@ SPEC CHECKSUMS:
GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
GzipSwift: 893f3e48e597a1a4f62fafcb6514220fcf8287fa
hermes-engine: a042a38ee8fd790f69526e722127b3d187cfbc52
hermes-engine: b9fce68308a7c2ec975e1717cb7fabe2dc9dd83e
libavif: 84bbb62fb232c3018d6f1bab79beea87e35de7b7
libdav1d: 23581a4d8ec811ff171ed5e2e05cd27bad64c39f
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
Expand Down Expand Up @@ -5006,7 +5006,7 @@ SPEC CHECKSUMS:
RNFS: 89de7d7f4c0f6bafa05343c578f61118c8282ed8
RNGestureHandler: e580deecf0c372b61e073437ac37f62511265777
RNGoogleSignin: 89877c73f0fbf6af2038fbdb7b73b5a25b8330cc
RNLiveMarkdown: b6923a4b941161f6b8832c413f035564a6f4c46e
RNLiveMarkdown: 014c79e3eb3384ad574e4697460c41d997530478
RNLocalize: 05e367a873223683f0e268d0af9a8a8e6aed3b26
rnmapbox-maps: 8b7629ef3ae59dd96340470e568cbc7c08c54ff9
RNNitroSQLite: a9b5965d511ed6e99ce903380e64934d043a0d2c
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@expensify/nitro-utils": "file:./modules/ExpensifyNitroUtils",
"@expensify/react-native-background-task": "file:./modules/background-task",
"@expensify/react-native-hybrid-app": "file:./modules/hybrid-app",
"@expensify/react-native-live-markdown": "0.1.333",
"@expensify/react-native-live-markdown": "0.1.334",
"@expensify/react-native-wallet": "0.1.22",
"@expo/metro-config": "56.0.14",
"@expo/metro-runtime": "56.0.13",
Expand Down
3 changes: 2 additions & 1 deletion src/pages/iou/request/step/IOURequestStepDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import useShowNotFoundPageInIOUStep from '@hooks/useShowNotFoundPageInIOUStep';
import useThemeStyles from '@hooks/useThemeStyles';

import {addErrorMessage} from '@libs/ErrorUtils';
import focusComposerWithDelay from '@libs/focusComposerWithDelay';
import getNonEmptyStringOnyxID from '@libs/getNonEmptyStringOnyxID';
import {shouldUseTransactionDraft} from '@libs/IOUUtils';
import Parser from '@libs/Parser';
Expand Down Expand Up @@ -175,7 +176,7 @@ function IOURequestStepDescription({

useDiscardChangesConfirmation({
onCancel: () => {
inputRef.current?.focus();
focusComposerWithDelay(inputRef.current)(true);
},
getHasUnsavedChanges: () => {
if (isSaved) {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/iou/request/step/IOURequestStepMerchant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import useRestartOnReceiptFailure from '@hooks/useRestartOnReceiptFailure';
import useShowNotFoundPageInIOUStep from '@hooks/useShowNotFoundPageInIOUStep';
import useThemeStyles from '@hooks/useThemeStyles';

import focusComposerWithDelay from '@libs/focusComposerWithDelay';
import getNonEmptyStringOnyxID from '@libs/getNonEmptyStringOnyxID';
import {getTransactionDetails, isExpenseRequest, isPolicyExpenseChat} from '@libs/ReportUtils';
import {hasReceipt} from '@libs/TransactionUtils';
Expand Down Expand Up @@ -168,7 +169,7 @@ function IOURequestStepMerchant({

useDiscardChangesConfirmation({
onCancel: () => {
inputRef.current?.focus();
focusComposerWithDelay(inputRef.current)(true);
},
getHasUnsavedChanges: () => {
if (isSaved) {
Expand Down
Loading