leecade / leecade/react-native-swiper

Android needs more drag to change page than iOS

Open
#277 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

When dragging a view slowly to the left for example, on iOS, when just a little more than 50% of the view is outside of the screen, it changes to the next view.

If I do the same on Android, it reverts back to the same view. I have to drag more like 60-70% before it shows the next page. I noticed this on the emulator but also on a real device (1080x1920 resolution).

The result of this is that if I drag kind of sloppy, just small drags, I end up never getting to the next view on Android.

Is this a known issue?

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

The issue does not name files or tests. Reproduce the slow left drag on Android and compare its page-change threshold with iOS, then locate the swipe handling entry point; done means a drag just over 50% outside the screen advances consistently on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, 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.