leecade / leecade/react-native-swiper
Give priority to slide child for press events
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I'm having a react-native-slider nested in a swiper slide. The problem is that it's quite hard to trigger the slider to slide. The swiper usually triggers before the slider gets any chance to slide.
How could I give the priority to the slider when the press event is around it?
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue with react-native-slider nested inside a swiper slide and inspect the press-event handling entry points in this repository. Determine how the child slider and parent swiper compete for the gesture, then verify that the slider responds reliably while swiping still works outside the slider.
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
- 28/100