kkemple / kkemple/react-native-sideswipe
Two slider on same screen, affect each other
- Dominant language
- JavaScript
- Stars
- 900
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
I have implemented slideSwipe, My page should show two sliders. Current issue is when i swipe left to right to first slider there is no issue. But when I swipe to 2nd Slider, first slider also moving
Any idea how to resolved.
```javascript
setCurrentIndex(index)}
renderItem={({ itemIndex, currentIndex, item, animatedValue }) => (
)}
/>
```
I have separate components for both sliders. Any idea where i made a mistake
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the two slider usages and the shared currentIndex state shown around SideSwipe and onIndexChange. Compare how each separate component receives and updates its index, then reproduce the swipe interaction with both sliders visible. Done means swiping the second slider no longer changes the first, with both sliders retaining independent positions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100