meliorence / meliorence/react-native-snap-carousel
Spacing issue between two slide of carousel.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I want to make a caousel which is same as first GIF available on this https://github.com/meliorence/react-native-snap-carousel.
Issue I am facing is i am not able to set space between two slides. I tried to do that using padding horizontal but with that I am not able to set current slide in centre as PaddingHorizontal has high precedence over activeSlideAlignment.
My requirement is current slider in centre, some portion of previous and next slide should be visible, some space should be available between two slides. And Current slide in centre means first and last slide should also be in centre.
Waiting for your support.
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 by reproducing the carousel described in the issue, focusing on activeSlideAlignment and horizontal padding. Determine how to keep the current slide centered, show adjacent slides, and add spacing while preserving centered first and last slides; verify the behavior on both ends of the carousel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100