-
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 feature not working properly when we reach end and scroll to first it scroll back completely not to next #337
Comments
Hi @Devid2727, I know that the loop feature can sometimes get messy, particularly in debug mode and/or on Android. This has to do with a few Is setting Also, it would really help if you could put together a simple Snack example that reproduces the issue. |
I have tried with |
Are you guys planning to support proper loop feature in future ? |
Could you provide a Snack example that reproduces the issue? We've used the "loop" feature in many apps currently in production and, so far, we have not experienced the problem you describe. Note that this feature is really complex and is impaired by some pesky |
Closing as no further feedback was provided. |
i changed the code
then ,can realize infinite loop |
When i enable loop feature in react-native-snap-carousel , the behaviour of loop feature is very weird. when i reach to last item and continue scrolling for first item, it not scrolling to for next item, it scroll back and come to first item, even i have used different method to scroll the item by like 'snapToPrev' ,
'snapToItem' and 'snapToNext' but i am not able to solve this issue. is there any special property i have to use for scroll item smoothly with loop feature? Below i have added my code snippet.
I am using following version to develop application
"react-native-snap-carousel": "^3.7.0",
"react-native": "0.55.3",
"react": "16.3.1",
Let me know if you need any other information.
The text was updated successfully, but these errors were encountered: