leecade / leecade/react-native-swiper
Compatibility issue with RN 0.42.0
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I had used this component with success on RN 0.39.2. When I started a new project with RN 0.42.0 I keep getting the error:
this.props.onScroll is not a function
When making a Swiper that contains more than one element. It appears to be a problem associated with the underlying RN ScrollView component, perhaps in the ScrollResponder.
I'm pretty new to RN so I'm not a ton of help, but just thought I'd bring this up in case anyone else is having issues.
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 error with React Native 0.42.0 and a Swiper containing more than one element. Inspect the interaction with the underlying ScrollView and ScrollResponder; the issue is done when this.props.onScroll is no longer reported as not a function.
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