Open BrodaNoel opened 5 months ago
Hello @BrodaNoel! 👋 I'm Dosu, a bot here to assist you with bug resolutions, answer your questions, and guide you on becoming a contributor. While you're waiting for a human maintainer, I'm here to help you out. I'm currently reviewing your issue about the animation problem you're facing with react-native-reanimated-carousel
on Expo SDK 50 and will get back to you shortly with a more detailed response. Stay tuned!
BTW, yes, my GestureHandlerRootView
.
This issue seems to be quite similar to the one that is being solved in https://github.com/dohooo/react-native-reanimated-carousel/pull/576
It maaay be fixed after merging it.
The issue you're experiencing with the react-native-reanimated-carousel
animations after upgrading to Expo SDK 50 seems to be recognized and potentially addressed by the ongoing work in pull request #576. This pull request aims to solve animation-related problems that could be affecting your carousels. It's advisable to monitor the progress of this pull request and test your application once the changes are merged to see if the issue resolves. In the meantime, ensure that all your dependencies are up to date and consider checking if there are any known workarounds or additional configurations required for the new SDK version that might temporarily alleviate the issue.
To continue the conversation, mention @dosu.
I'm having the same issue with the minimum version of this Carousel:
render() {
const { spots } = this.state;
if (spots && spots.length) {
return (
<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,
// }}
/>
);
}
return null;
}
@dohooo after implementing the changes on https://github.com/dohooo/react-native-reanimated-carousel/pull/574 and https://github.com/dohooo/react-native-reanimated-carousel/pull/576, and creating a patch with them, it looks to be IMPROVED. Not fixed... but the issue got a bit better
And seems like the one who improved it was 574
This is the new behavior after implementing 574 and 576
Check the "image indicator" (1/2 photos... 2/2 photos), in the middle, below, inside the photo.
That number is the current index of the carousel. In the video you can see that it doesn't move properly when you swipe the photo to change it. It seems like it's called later or something like that.
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 triedalpha0
on SDK 50 andalpha10
, and in both situations the issue still there.If you check in the video, there are 2 different Carousels. Here are the implementations:
All these carousel were working well since years ago.
Screenshots Video in the next comment
Versions (please complete the following information):
Smartphone: