@fto-consult/expo-ui 6.16.3 → 6.16.5
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.16.
|
|
3
|
+
"version": "6.16.5",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"react-native-iphone-x-helper": "^1.3.1",
|
|
100
100
|
"react-native-mime-types": "^2.4.0",
|
|
101
101
|
"react-native-paper": "^5.10.0",
|
|
102
|
-
"react-native-paper-dates": "^0.18.
|
|
102
|
+
"react-native-paper-dates": "^0.18.13",
|
|
103
103
|
"react-native-reanimated": "~3.3.0",
|
|
104
104
|
"react-native-safe-area-context": "4.6.3",
|
|
105
105
|
"react-native-screens": "~3.22.0",
|
|
@@ -254,7 +254,10 @@ const TableComponent = React.forwardRef(({containerProps,sortedColumn,listContai
|
|
|
254
254
|
if(onRender){
|
|
255
255
|
onRender(a,b,c);
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
//au paravant il était possible de faire scroller le composant Table lorsque les données sont raffraichies, ce qui n'avait pas un bon impact sur le rendu de la table de données
|
|
258
|
+
if(false && hasChangedDataRef.current){
|
|
259
|
+
//permet de restaurer la position scrollé où scroll initial à chaque fois que le composant est re render
|
|
260
|
+
//ce qui n'est pas très interessant
|
|
258
261
|
if(headerScrollViewRef.current && headerScrollViewRef.current.scrollTo){
|
|
259
262
|
headerScrollViewRef.current.scrollTo({
|
|
260
263
|
x : 0,
|