-
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
Carousel with long pagination #369
Comments
@sani723 This is an interesting feature request. How would you animate the dots when switching between items? Do you have an exemple? |
@bd-arc I know one library for Android https://github.com/rbro112/Android-Indefinite-Pager-Indicator |
@sani723 Unfortunately, the library you've mentioned is a native one which is a no-go for us since we want to keep this plugin free of any native dependencies. I don't see any easy way to introduce this feature. If you or another contributor wants to jump in and submit a PR, do not hesitate ;-) |
@sani723 you can use this react-native-pagination |
Thanks for the link @anniewey! It should be a piece of cake to connect this plugin to the carousel since the latter is a |
Is this a bug report, a feature request, or a question?
Question.
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?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Both
Is the bug reproductible in a production environment (not a debug one)?
Yes
Environment
Environment:
React: 16.3.1
React native: 0.55.2
react-native-snap-carousel: 3.7.2
Target Platform:
Android (6.0)
iOS (10.3)
Expected Behavior
In case of large number of items it should just show few items in pagination with current item in center.
Actual Behavior
It shows long pagination, initially current item index is out of screen etc.
The text was updated successfully, but these errors were encountered: