-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel disappears #294
Comments
I can confirm this issue, everything works fine on 3.1.0 but not after update to the 3.1.1. It happens when the initial data is empty and then is filled. I said that because if the data is "static" or the component is rendered without coming from empty works fine. If you add a condition to only render when the data is not empty, works fine too, e.g: {data.length > 0 && (
...
)} @josafath59 please, try it and confirm if it works for you too. I tried to find the reason and patch-package it but no luck. |
same issue here . then @wfern work fine thanks. |
Sorry, I've been working all day. I am really busy. It's a little tiring for me to maintain this project right now. 😞 |
It works @dohooo, thank you very much for everything! |
@dohooo 没事,你偶尔关注下就好,辛苦,看来又是996受害者😋 |
Describe the bug
Well my problem is the following: Carousel disappears for a moment it renders and then it disappears, if for example I put a View inside the Carousel and save the changes it renders again but I reload my application again it disappears in the same way if I remove that View then Caroulsel reappears but when I reload the same thing happens again it disappears.
Within my Project I am using another Carousel but that has no problem I tried to replicate it but I have not been successful it continues to disappear even though they have the same attributes
I hope you can help me
Expected behavior
Don't let the Carousel disappear
Screenshots
This is the Carousel code that renders and immediately disappears
This is the Carousel code that does not have a problem that does not disappear
Here I show how nothing appears in the carousel
This is what I would expect not to disappear even though I refresh the app
Versions (please complete the following information):
Smartphone (please complete the following information):
Additional context
Before I used an older version of react-native-reanimated-carousel and the carousel did not disappear, the problem was that when I generated the apk with eas build, this apk did have the problem that it disappeared, I even removed the ImageBackground component but without success keeps disappearing, it was also tested on an Iphone 12 in the same way the carousel disappears
The text was updated successfully, but these errors were encountered: