@fto-consult/expo-ui 6.58.2 → 6.58.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -3,8 +3,9 @@ import React from "$react";
|
|
3
3
|
import { useWindowDimensions } from "react-native";
|
4
4
|
|
5
5
|
const DialogContentComponent = ({isPreloader,title,children,isFullScreen,...props})=>{
|
6
|
+
return children;
|
6
7
|
const isFull = isFullScreen();
|
7
|
-
|
8
|
+
return React.useMemo(()=>children,[isPreloader,title,children]);
|
8
9
|
return isPreloader || !isFull ? content : <KeyboardAvoidingView testID="RN_DialogKeybaordAvoidingView">{content}</KeyboardAvoidingView>
|
9
10
|
}
|
10
11
|
export default DialogContentComponent;
|
@@ -70,7 +70,7 @@ export default function ScreenWrapperNavComponent(_props){
|
|
70
70
|
{...rest}
|
71
71
|
key = {sanitizedName}
|
72
72
|
authRequired={authRequired === false ? false : authRequired || allowDrawer}
|
73
|
-
backAction={isModal}
|
73
|
+
backAction={options.backAction !== false && Screen.backAction !==false && isModal || false}
|
74
74
|
modal={isModal}
|
75
75
|
navigation = {navigation}
|
76
76
|
route = {route}
|