diff --git a/patches/react-navigation/@react-navigation+stack+7.3.3+003+fix-invisible-sidebar-safari.patch b/patches/react-navigation/@react-navigation+stack+7.3.3+003+fix-invisible-sidebar-safari.patch new file mode 100644 index 000000000000..16f4b4476ff2 --- /dev/null +++ b/patches/react-navigation/@react-navigation+stack+7.3.3+003+fix-invisible-sidebar-safari.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@react-navigation/stack/lib/module/views/Stack/CardStack.js b/node_modules/@react-navigation/stack/lib/module/views/Stack/CardStack.js +index e8d9f78..4bb7737 100644 +--- a/node_modules/@react-navigation/stack/lib/module/views/Stack/CardStack.js ++++ b/node_modules/@react-navigation/stack/lib/module/views/Stack/CardStack.js +@@ -429,7 +429,7 @@ export class CardStack extends React.Component { + index: index, + interpolationIndex: interpolationIndex, + modal: isModal, +- active: index === routes.length - 1, ++ active: index === routes.length - 1 || shouldNotDetachScreen, + focused: focused, + opening: openingRouteKeys.includes(route.key), + closing: closingRouteKeys.includes(route.key), diff --git a/patches/react-navigation/details.md b/patches/react-navigation/details.md index 4f12f7b37aa5..0a05e9ff5c24 100644 --- a/patches/react-navigation/details.md +++ b/patches/react-navigation/details.md @@ -53,3 +53,8 @@ - E/App issue: [#48150](https://github.com/Expensify/App/issues/48150) - PR Introducing Patch: [#48151](https://github.com/Expensify/App/pull/48151) - PR Updating Patch: [#64155](https://github.com/Expensify/App/pull/64155) + +### [@react-navigation+stack+7.3.3+003+fix-invisible-sidebar-safari.patch](@react-navigation+stack+7.3.3+003+fix-invisible-sidebar-safari.patch) +- Reason: Sidebar is invisible on the safari +- Upstream PR/issue: N/A +- E/App issue: [#65119](https://github.com/Expensify/App/issues/65119)