leecade / leecade/react-native-swiper
iOS Swiping last page triggers click
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
iOS
Version
Which versions are you using:
- react-native-swiper v1.5.13
- react-native v0.45.0
Expected behaviour
When I try to swipe first page to the left or last page to the right, I expect to see scroll borders.
Actual behaviour
Instead of displaying scroll border, the onClick action is triggered
Steps to reproduce
- create swiper with 2+ pages. the page itself should contain touchable* element
- set
loop={false} - swipe first page to the left or last page to the right.
- catch the touchable* onPress event
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 with the swiper behavior described for react-native-swiper v1.5.13 on React Native 0.45.0, reproducing it with two or more pages, touchable elements, and loop={false}. Check the first-page-left and last-page-right swipe paths; done means those edge swipes show scroll borders without triggering the touchable onPress event.
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
- Clearly specified
- Newbie friendliness
- 38/100