leecade / leecade/react-native-swiper
onPress not fired while first swipe not made
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Version
- react-native-swiper v1.5.8
- react-native v0.43.4
Actual behaviour
When I open my app and pressing a button (inside the swiper) that fire an onPress event, it seems all my events are stacked and fired only when I shift the view a little bit (like if I'm swipping). But after that, all my events are fired normaly...
I've already tried the #201 solution, nothing change.
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
Start by reproducing the issue with react-native-swiper v1.5.8 and react-native v0.43.4 using a button inside the swiper. Trace the swiper's touch handling around the initial view and compare behavior before and after a slight swipe; done means the button's onPress fires immediately without requiring a swipe.
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
- 30/100