Open Saad9624 opened 2 years ago
Did you figured sth. out? Have the same problem.
Did you figured sth. out? Have the same problem.
Still not. Did you figure out anything?
any update on this ?
have the same issue, any luck
node_modules -> react-native-snap-carousel -> src -> utils -> animations.js
LINE 3
from
const IS_ANDROID = Platform.OS === 'android';
to
const IS_ANDROID = false;
This patch fix my issue, thanks @dhruvpvx.
diff --git a/node_modules/react-native-snap-carousel/src/utils/animations.ts b/node_modules/react-native-snap-carousel/src/utils/animations.ts
index bf1c50f..a438f1a 100644
--- a/node_modules/react-native-snap-carousel/src/utils/animations.ts
+++ b/node_modules/react-native-snap-carousel/src/utils/animations.ts
@@ -1,7 +1,7 @@
import { Platform, Animated } from 'react-native';
import type { CarouselProps } from 'src/carousel/types';
-const IS_ANDROID = Platform.OS === 'android';
+const IS_ANDROID = false;
// Get scroll interpolator's input range from an array of slide indexes
// Indexes are relative to the current active slide (index 0)
npx patch-package react-native-snap-carousel
Question.
Is there any fix available for inverted behaviour in android when the layout is stack.Almost tried every way but have no luck.