-
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
Loop doesn't work on some android devices #417
Comments
same issue here. |
I found a workaround. |
|
it does not work |
I'm having the same issue. My environment:
Any news on this issue ? |
In my case, I'm having a simple carousel displaying 3 items at a time and with data list of 8 items, each item being just a simple image. I've tested to increase the So the issue is rather the lack of parameter to define when we want the cloning to happen. In my case, with 3 items displayed at a time, I would like cloning to happen as soon as I'm getting as close as 2 items from the first or last item of the list. Would that be possible to add that behavior? It could look like a What do you think? |
Hi there! Any news on that? |
Hey @bd-arc! Are you the maintainer of this lib? What do you think about my suggestion above? |
Hi! Just faced the same issue yesterday. Loop didn't work on Android simulator as well as on Google Pixel 2, while works great on iPhone. I've also noticed that if I swipe left quickly with short gestures, sometimes slides get cloned as they should (I guess). But I failed to reproduce this behavior on swiping right. Hope this info will be helpful to find what caused this issue. |
@zabojad While this idea is sound, it would prove incredibly difficult to code and might not even solve the issue. @zabojad @SergeyYuhimovich The root issue is that randomly in the I've been willing to ditch the |
PR #443 was submitted to me a few days ago. Does it solve this issue for you? |
@bd-arc this PR didn't solve this issue in my case. Trying to trace what caused it. As far as I see now, on Android |
Facing same issue on any array of |
Any update on above issue? Facing same on s8 with 5 element in array. |
Try |
Same issue with callbackOffsetMargin={0}. Any update on this? |
Same problem. |
Same problem... |
Same here, It only renders new items, if I go on to 2nd clone out of 3 clones :/ |
I use the version 3.8.4 and face the same issue. @bd-arc |
Same problem |
Loop is not working in Android in for examples 3 and 4, as well. It gets stuck if you scroll only in one direction. |
same here, any solution on this? |
Same issue, changing clones does not solve the problem. |
any update on this ? for android |
comment out this line under Crousel.js Thanks me later! |
Is this a bug report, a feature request, or a question?
Bug
Have you followed the required steps before opening a bug report?
(Check the step you've followed - replace the space character between the square brackets (
[]
) by anx
.)Have you made sure that it wasn't a React Native bug?
Unsure.
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Android only.
Is the bug reproductible in a production environment (not a debug one)?
Yes. On both environment.
Environment
Environment:
React: 16.2.0
React native: 0.53.3
react-native-snap-carousel: 3.3.4
Target Platform:
Android (8.0)
iOS (11.4)
Expected Behavior
Like the result on iOS. When set
loop={true}
, the carousel can have infinite loop effect:Actual Behavior
On android, the carousel can't loop infinitely but just repeat few loop and stop:
(Write what happened. Add screencasts/screenshots!)
Reproducible Demo
https://snack.expo.io/H11RLUlnm
(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)
Steps to Reproduce
Just try to keep scroll on android platform.
The text was updated successfully, but these errors were encountered: