leecade / leecade/react-native-swiper
onScrollBeginDrag is not getting called in android
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Android
9.0
Which versions are you using:
- react-native-swiper 1.5.14
- react-native v0.60
it has to call the function mentioned.
its not triggering any function on scroll begin drag
<Swiper style={styles.wrapper}
key={Utils.randomString()}
showsButtons={true}
showsPagination={false}
onScrollBeginDrag={this.stopVideo}
onIndexChanged={this.loadMoreVideos}
animated={false}
index={this.state.currIndex}
containerStyle={{flex: 1}}
loop={false}>
{this.renderSwipeView()}
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 tracing the Swiper component's onScrollBeginDrag handling on Android, using the provided react-native-swiper 1.5.14 and React Native 0.60 example as the reproduction. Confirm that beginning a drag invokes the supplied stopVideo callback, and verify the behavior on Android.
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