meliorence / meliorence/react-native-snap-carousel
Unable to change alignment of Stacked Carousel
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Is this a bug report, a feature request, or a question?
By default it allows sliding from Right to Left. But I need Left -> Right
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an x character between the square brackets ([]).)
- [] I have read the guidelines regarding bug report.
- [] I have reviewed the documentation in its entirety, including the dedicated documentations 📚.
- [] I have searched for existing issues and made sure that the problem hasn't already been reported.
- [] I am using the latest plugin version.
- [] I am following the issue template closely in order to produce a useful bug report.
Have you made sure that it wasn't a React Native bug?
(Write your answer here.)
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
(Write your answer here and specify the iOS/Android versions on which you've been able to reproduce the issue.)
Is the bug reproductible in a production environment (not a debug one)?
(Write your answer here.)
Environment
(Write your answer here.)
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screencasts/screenshots!)
Reproducible Demo
(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
<Carousel
ref={(c) => {
this._carousel = c;
}}
data={this.state.entries}
renderItem={this._renderItem}
sliderWidth={scale(700)}
itemWidth={scale(565)}
loop={true}
layout={'stack'}
useScrollView={true}
/>
(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Carousel usage shown in the issue, especially layout={'stack'} and useScrollView={true}, then read the README and linked documentation for supported direction or alignment options. Reproduce the default right-to-left behavior before determining what API or behavior is missing; done should include a clear, documented way to use the stacked carousel left-to-right.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100