leecade / leecade/react-native-swiper

Ovescroll Mode cannot be changed for Android

Open
#832 0 comments 0 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

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.