We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f40fe commit ff48e36Copy full SHA for ff48e36
packages/uikit-react-native/src/components/ChatFlatList/FlatListInternal.tsx
@@ -17,13 +17,16 @@ type BidirectionalProps<T> = {
17
};
18
19
function shouldUseScrollViewEnhancer() {
20
+ if (Platform.OS !== 'android') return false;
21
+
22
if (Platform.constants.reactNativeVersion.major < 1) {
23
if (Platform.constants.reactNativeVersion.minor < 72) {
24
return true;
25
}
26
27
return false;
28
29
30
function getFlatList(): FlatListBidirectional {
31
if (shouldUseScrollViewEnhancer()) {
32
try {
0 commit comments