meliorence / meliorence/react-native-snap-carousel
Long swiping going to end . I want to stop it
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Long swiping going to end . I want to stop it
<Carousel
ref={refCrousal}
data={carousalData}
vertical={false}
autoplay={true}
renderItem={renderItem}
sliderWidth={SLIDER_WIDTH}
itemWidth={ITEM_WIDTH}
inactiveSlideShift={0}
onSnapToItem={index => setIndex(index)}
useScrollView={true}
/>
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 issue with the shown Carousel configuration, focusing on a long swipe while autoplay and useScrollView are enabled. Read the Carousel component and the behavior of its onSnapToItem callback; done means a long swipe no longer jumps unexpectedly to the end and the selected index remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100