From c1b92b25972f174b78542f3b2fcffd52f1cc4ce6 Mon Sep 17 00:00:00 2001 From: Sibtain Ali Date: Sat, 29 Jul 2023 17:56:45 +0500 Subject: [PATCH] feat: add no dropzone only if RHN is active --- .../createResponsiveStackNavigator/ThreePaneView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js b/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js index afa075bcb55..2f9a899191b 100644 --- a/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js +++ b/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js @@ -53,8 +53,9 @@ function ThreePaneView(props) { ); } if (route.name === NAVIGATORS.RIGHT_MODAL_NAVIGATOR) { + const Wrapper = props.state.index === i ? NoDropZone : React.Fragment; return ( - + {props.descriptors[route.key].render()} - + ); } return (