-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error when using RN 0.42.3 #48
Comments
@yaronlevi This error is triggered when the carousel only has one children. I thought I had already pushed a fix, but I apparently forgot. I'll do it shortly. In the meantime, can you confirm that with two or more children the error is gone? |
Ok, I've tried putting two child Image elements, and the error is gone, but now I only see the first image. When I swipe to the second one, I just see white background. As if the image was not loaded. I've created a repo to reproduce the bug: https://github.com/yaronlevi/carousel (code is in index.android.js) |
@yaronlevi I've just downloaded and built your project, but I didn't face any issue. You can see the result with this gif. You might be facing #38. Can you try on an emulator, on another device, and/or with another Android version? |
Mmm very strange |
@yaronlevi Well, this kind of issues has only been experimented on Google devices; this might be linked to React Native's Unfortunately, we haven't been able to reproduce the issues so far (it works properly on every one of our Android devices, including a LG G3). This makes them pretty complicated to debug. We're working on implementing a custom PanResponder that may resolve the issue, but it's not going to be released in the near future. |
Follow-up discussion about the Android issue will take place in #38 |
I've created a barebones react-native [email protected] project and copied the carousel:
And getting this error:
The text was updated successfully, but these errors were encountered: