leecade / leecade/react-native-swiper
onTouchEnd(e, state, context) state, context are both undefined in Android
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
when touch the Swiper image, it will do something according the data the image has. so I have to know the index of this image, but state, context of the onTouchEnd function are both undefined, ios is OK.
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 Swiper image touch behavior on Android and compare the onTouchEnd callback with iOS. Trace how the callback receives state and context, then verify that the image index is available on Android so data-dependent touch handling works consistently.
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
- Mostly clear
- Newbie friendliness
- 42/100