@fto-consult/expo-ui 6.71.1 → 6.71.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.71.1",
3
+ "version": "6.71.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -100,7 +100,7 @@ export default function MainScreenScreenWithoutAuthContainer(props) {
100
100
  const Wrapper = React.useMemo(()=>modal ? PortalCP : React.Fragment,[modal]);
101
101
  const WrapperProps = modal? {screenName} : {};
102
102
  const portalId = uniqid("screeen-container-"+screenName);
103
- return <Wrapper {...WrapperProps}>
103
+ return <Wrapper {...WrapperProps} key={screenName}>
104
104
  <View testID={testID+"_ScreenContentContainer"} id={portalId} {...containerProps} style={[styles.container,{backgroundColor},modal && styles.modal,containerProps.style]} >
105
105
  <KeyboardAvoidingView testID={testID} {...keyboardAvoidingViewProps} style={[styles.keyboardAvoidingView,keyboardAvoidingViewProps.style]}>
106
106
  {withStatusBar !== false ? <StatusBar/> : null}
@@ -134,8 +134,8 @@ export default function MainScreenScreenWithoutAuthContainer(props) {
134
134
  </Wrapper>
135
135
  }
136
136
 
137
- const PortalCP = ({children})=>{
138
- return <RNPortal>
137
+ const PortalCP = ({children,screenName})=>{
138
+ return <RNPortal key={screenName}>
139
139
  {children}
140
140
  </RNPortal>
141
141
  }