-
-
Notifications
You must be signed in to change notification settings - Fork 350
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I had upgraded to Expo SDK 50, and now I'm getting a cosmetic issue.
I'm going to upload a video in the following comment, showing what is happening.
I was using alpha0 with SDK 49 and this issue was NOT pressent.
I tried alpha0 on SDK 50 and alpha10, and in both situations the issue still there.
If you check in the video, there are 2 different Carousels. Here are the implementations:
// first carousel in the video
<Carousel
ref={ref => (this.carousel = ref)}
mode="parallax"
loop={false}
scrollAnimationDuration={200}
width={WIDTH}
height={HEIGHT}
data={spots}
renderItem={SpotPreviewWrapper}
windowSize={2}
onSnapToItem={this.onIndexChange}
modeConfig={{
parallaxScrollingScale: 0.75,
parallaxAdjacentItemScale: 0.75,
parallaxScrollingOffset: 80,
}}
/>
// second carousel in the video
<Carousel
data={images}
loop={false}
scrollAnimationDuration={200}
renderItem={({ item, index }) => this._renderItem({ item, index }, PHOTO_HEIGHT)}
width={DEVICE_WIDTH}
height={PHOTO_HEIGHT + USER_BOX_HEIGHT}
onSnapToItem={this.onImageChange}
enabled={images.length > 1}
windowSize={3}
onConfigurePanGesture={gestureChain => {
gestureChain.activeOffsetX([-10, 10]);
}}
/>
All these carousel were working well since years ago.
Screenshots
Video in the next comment
Versions (please complete the following information):
- react: 18.2.0
- react-native: 0.73.6
- react-native-reanimated: ~3.6.2
- react-native-reanimated-carousel: 4.0.0-alpha.10
- react-native-gesture-handler: ~2.14.0
Smartphone:
- Device: iPhone 13 mini
- OS: iOS 17.4.1 (latest at this time)
dosubot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working