@applicaster/zapp-react-native-ui-components 12.0.19-alpha.7321313106 → 12.0.19-rc.0
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as R from "ramda";
|
|
3
|
-
import { View, StyleSheet, FlatList } from "react-native";
|
|
3
|
+
import { View, StyleSheet, Platform, FlatList } from "react-native";
|
|
4
4
|
import { useTheme } from "@applicaster/zapp-react-native-utils/theme";
|
|
5
5
|
import { RiverItem } from "../RiverItem";
|
|
6
6
|
import { RiverFooter } from "../RiverFooter";
|
|
@@ -23,13 +23,6 @@ import { isLast } from "@applicaster/zapp-react-native-utils/arrayUtils";
|
|
|
23
23
|
import { withComponentsMapProvider } from "@applicaster/zapp-react-native-ui-components/Decorators/ComponentsMapWrapper";
|
|
24
24
|
import { useScreenContextV2 } from "@applicaster/zapp-react-native-utils/reactHooks/screen/useScreenContext";
|
|
25
25
|
import { useShallow } from "zustand/react/shallow";
|
|
26
|
-
import {
|
|
27
|
-
isAndroidPlatform,
|
|
28
|
-
isApplePlatform,
|
|
29
|
-
} from "@applicaster/zapp-react-native-utils/reactUtils";
|
|
30
|
-
|
|
31
|
-
const isAndroid = isAndroidPlatform();
|
|
32
|
-
const isIOS = isApplePlatform();
|
|
33
26
|
|
|
34
27
|
type Props = {
|
|
35
28
|
feed: ZappFeed;
|
|
@@ -309,12 +302,12 @@ function ComponentsMapComponent(props: Props) {
|
|
|
309
302
|
}}
|
|
310
303
|
// Fix for WebView rerender crashes on Android API 28+
|
|
311
304
|
// https://github.com/react-native-webview/react-native-webview/issues/1915#issuecomment-964035468
|
|
312
|
-
overScrollMode={
|
|
305
|
+
overScrollMode={Platform.OS === "android" ? "never" : "auto"}
|
|
313
306
|
scrollIndicatorInsets={scrollIndicatorInsets}
|
|
314
307
|
extraData={feed}
|
|
315
308
|
stickyHeaderIndices={stickyHeaderIndices}
|
|
316
309
|
onLayout={handleOnLayout}
|
|
317
|
-
removeClippedSubviews
|
|
310
|
+
removeClippedSubviews
|
|
318
311
|
initialNumToRender={3}
|
|
319
312
|
maxToRenderPerBatch={10}
|
|
320
313
|
windowSize={12}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "12.0.19-
|
|
3
|
+
"version": "12.0.19-rc.0",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"redux-mock-store": "^1.5.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@applicaster/applicaster-types": "12.0.19-
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "12.0.19-
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "12.0.19-
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "12.0.19-
|
|
37
|
+
"@applicaster/applicaster-types": "12.0.19-rc.0",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "12.0.19-rc.0",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "12.0.19-rc.0",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "12.0.19-rc.0",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|