diff --git a/package-lock.json b/package-lock.json index b1561e7dace4..1e1b9ffd918a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5777,11 +5777,11 @@ "integrity": "sha512-Gh5O6Ng3z0/qSBhuuWuPSi24+RrkgNy5hzvEke8qjS+kbrPfSFLD6aq9B2Fdfndp/dAyfxgTi6aULUsnv847Hw==" }, "@react-navigation/core": { - "version": "6.0.0-next.8", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.0.0-next.8.tgz", - "integrity": "sha512-S68uRxrPMXi0kaRRTtohE2oKyFPdBY6M2N2xsiw2+QfFIhuCI3/YQfEpGT3j4zcMjUKVZEEEThgNm0etScBxtA==", + "version": "6.0.0-next.13", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.0.0-next.13.tgz", + "integrity": "sha512-4UrxUfpvV5cZOEuuLhJiU5CRlyUUV5/v5ed4GsBHB/SCSu6QpINyI2zFn2FKcHfbVayzry0FEUIcvIduhYSTgg==", "requires": { - "@react-navigation/routers": "^6.0.0-next.2", + "@react-navigation/routers": "^6.0.0-next.4", "escape-string-regexp": "^4.0.0", "nanoid": "^3.1.22", "query-string": "^7.0.0", @@ -5796,26 +5796,33 @@ } }, "@react-navigation/drawer": { - "version": "6.0.0-next.10", - "resolved": "https://registry.npmjs.org/@react-navigation/drawer/-/drawer-6.0.0-next.10.tgz", - "integrity": "sha512-ukMH76ZlNVgna3R+9FPELI7gzvoJxqFjGSWhLfeWYVtwOaSTjvZ3LnamZGBQ2Q/OiOZXqtnW914VStWnWBQHOA==", + "version": "6.0.0-next.17", + "resolved": "https://registry.npmjs.org/@react-navigation/drawer/-/drawer-6.0.0-next.17.tgz", + "integrity": "sha512-iEkusYpdLnt0KQBU1iUhIk+Bo8iRNKb6JuD1gdJ4brWRohECeY9LRdpPlG3GN/yMXYdHDXZiRjnUBjjyT9ywow==", "requires": { - "@react-navigation/elements": "^1.0.0-next.10", + "@react-navigation/elements": "^1.0.0-next.17", "color": "^3.1.3", "warn-once": "^0.1.0" + }, + "dependencies": { + "@react-navigation/elements": { + "version": "1.0.0-next.17", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.0.0-next.17.tgz", + "integrity": "sha512-7Uc99uMfECTH/giKWQjKq/J3kHnML6fniOoD4LTkoqgCxpWJ9WPWNDmft/a7Kijz6uTkYiFnAgH+yXIfm7gAgg==" + } } }, "@react-navigation/elements": { - "version": "1.0.0-next.10", - "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.0.0-next.10.tgz", - "integrity": "sha512-7RfbseB0XVfxy4K77JeG6hBIMoOXjyG0SdYbe41Wm5MKeeWVpO+y5MGOcysupoeUAxBfDHOYMbUab7/zVoRDPg==" + "version": "1.0.0-next.17", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.0.0-next.17.tgz", + "integrity": "sha512-7Uc99uMfECTH/giKWQjKq/J3kHnML6fniOoD4LTkoqgCxpWJ9WPWNDmft/a7Kijz6uTkYiFnAgH+yXIfm7gAgg==" }, "@react-navigation/native": { - "version": "6.0.0-next.8", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.0-next.8.tgz", - "integrity": "sha512-iw5OKczpsjoHJCFTXmSWTlB0ORlXykUH9TIGb1WvQJOZxAYhpwQ5+Y1BGqei1dS92opEXk8ESNhJdVG62nH/OA==", + "version": "6.0.0-next.13", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.0-next.13.tgz", + "integrity": "sha512-NCGw4ZuD7gK0cAHcBr+VwBEs/EKDk3dmK+CHGJ+BJ4f2NR9uZZPZ38I6A3JlDVXPmx1woXdDb+MgZevJkIjWng==", "requires": { - "@react-navigation/core": "^6.0.0-next.8", + "@react-navigation/core": "^6.0.0-next.13", "escape-string-regexp": "^4.0.0", "nanoid": "^3.1.22" }, @@ -5828,19 +5835,19 @@ } }, "@react-navigation/routers": { - "version": "6.0.0-next.2", - "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.0.0-next.2.tgz", - "integrity": "sha512-kC4gT2TN+VQYcoSQ/xsoBjSXshcvvOdi4ao33emcUMk/0DiRpJgBiaLlK0IWa13a2muulfkC4K6bH2TY6rEWTA==", + "version": "6.0.0-next.4", + "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.0.0-next.4.tgz", + "integrity": "sha512-Jpc5FTaz8eL6eGarYttNfE37++QmHYpyIifxtCJVmTi99WWNz8NmT80p4nLKPGU0R0ZdVcq+bPTGN3oqCUa1Iw==", "requires": { "nanoid": "^3.1.22" } }, "@react-navigation/stack": { - "version": "6.0.0-next.17", - "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.0.0-next.17.tgz", - "integrity": "sha512-zzw+ouKl53EcqvejCYHgoOKApQTO6hsSJFsO/TuZ6mk07rg3HYyZ8DMYGTBtICUc3ZAPG92NAROtudYQzmxTtw==", + "version": "6.0.0-next.25", + "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.0.0-next.25.tgz", + "integrity": "sha512-EBNa1M+U3qyr+AqC7IuXa6aLI+cngCDkrclq7ltaTTNfqVX+yOKXrVq5kOK4VyiFfhf0Hwe8hIl6aDlEpwi3wQ==", "requires": { - "@react-navigation/elements": "^1.0.0-next.10", + "@react-navigation/elements": "^1.0.0-next.17", "color": "^3.1.3", "react-native-iphone-x-helper": "^1.3.0", "warn-once": "^0.1.0" @@ -32915,9 +32922,9 @@ "integrity": "sha512-9gUlsDZ96QwT9AKzA6aVWM/NX5rlJgauZ9HgCDVzKbe29UQYT1740QJnnaI2GExmkFGp6o7ZLNhCXZW95eYVFA==" }, "react-native-screens": { - "version": "2.17.1", - "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-2.17.1.tgz", - "integrity": "sha512-B4gD5e4csvlVwlhf+RNqjQZ9mHTwe/iL3rXondgZxnKz4oW0QAmtLnLRKOrYVxoaJaF9Fy7jhjo//24/472APQ==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.0.0.tgz", + "integrity": "sha512-35II5oxTaVp3OP8y0eLPOPpQkxG4fRKQ+dL1YSE1we5kCZFOU0l/Rn0T79HbyUu1LPwUZr6lZupPs0ULnRyMuQ==" }, "react-native-svg": { "version": "12.1.0", diff --git a/package.json b/package.json index 7fdd4a476b34..8599d9cda09f 100644 --- a/package.json +++ b/package.json @@ -50,9 +50,9 @@ "@react-native-masked-view/masked-view": "^0.2.4", "@react-native-picker/picker": "^1.9.11", "@react-navigation/compat": "^5.3.15", - "@react-navigation/drawer": "^6.0.0-next.10", - "@react-navigation/native": "^6.0.0-next.8", - "@react-navigation/stack": "^6.0.0-next.17", + "@react-navigation/drawer": "^6.0.0-next.17", + "@react-navigation/native": "^6.0.0-next.13", + "@react-navigation/stack": "^6.0.0-next.25", "babel-plugin-transform-remove-console": "^6.9.4", "dotenv": "^8.2.0", "electron-context-menu": "^2.3.0", @@ -84,11 +84,11 @@ "react-native-pdf": "^6.2.2", "react-native-permissions": "^3.0.1", "react-native-picker-select": "8.0.4", - "react-native-reanimated": "^2.1.0", "react-native-plaid-link-sdk": "^7.0.5", + "react-native-reanimated": "^2.1.0", "react-native-render-html": "^6.0.0-alpha.10", "react-native-safe-area-context": "^3.1.4", - "react-native-screens": "2.17.1", + "react-native-screens": "^3.0.0", "react-native-svg": "^12.1.0", "react-native-web": "^0.14.1", "react-pdf": "^5.2.0", diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js index de927e7427ca..eac61fa5ddbf 100644 --- a/src/libs/Navigation/AppNavigator/AuthScreens.js +++ b/src/libs/Navigation/AppNavigator/AuthScreens.js @@ -166,6 +166,7 @@ class AuthScreens extends React.Component { animationEnabled: true, gestureDirection: 'horizontal', cardOverlayEnabled: true, + presentation: 'transparentModal', // This is a custom prop we are passing to custom navigator so that we will know to add a Pressable overlay // when displaying a modal. This allows us to dismiss by clicking outside on web / large screens. @@ -180,7 +181,6 @@ class AuthScreens extends React.Component { // a header will briefly open and close the keyboard and crash Android. // eslint-disable-next-line react/jsx-props-no-multi-spaces keyboardHandlingEnabled={false} - detachInactiveScreens={false} > {/* The MainDrawerNavigator contains the SidebarScreen and ReportScreen */}