leecade / leecade/react-native-swiper
Ovescroll Mode cannot be changed for Android
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 ?
Android
Version
Which versions are you using:
- react-native-swiper v1.5.13
- react-native v0.55.2
Expected behaviour
Property overScrollMode set to never removes overscroll effect.
Actual behaviour
Property overScrollMode set to never has no effect.
How to reproduce it>
Set property overScrollMode set to never for Swiper component with pages.
P.S. I suppose the problem persists because Swiper uses ViewPagerAndroid component under the hood for android platform and it has no property called overScrollMode. What is the real benefit of using it for Android instead of plain ScrollView like it's done for iOS?
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 Android case with react-native-swiper v1.5.13 and React Native v0.55.2, then trace the Swiper Android path that uses ViewPagerAndroid. Compare how the overScrollMode property is handled there; the work is done when setting it to never removes the Android overscroll effect.
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
- 35/100