leecade / leecade/react-native-swiper

Compatibility issue with RN 0.42.0

Open
#365 4 comments 3 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.