leecade / leecade/react-native-swiper
Possibility to change swiping sensitivity / minimumDistance for swipe
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Version
Which versions are you using:
- react-native-swiper v1.6.0
- react-native v0.65.1
Actual behaviour
In Android the swiper is much less sensitive than in iOS.
If I scroll in iOS only a few millimeters with normal swipe speed, the index changes.
If I scroll in Android a few millimeters with normal swipe speed, the index does not change.
Because of that the swiping in iOS feels great, but in Android it feels a bit buggy.
You have to swipe a longer distance or with more speed, that the index changes.
Expected behaviour
I would like to set "minimumDistance" for swipe or increase the swipe sensitivity under Android.
I also would be happy with a patch-package solution :) I tried it, but didn't find any solution...
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 locating the Android and iOS swipe handling in react-native-swiper v1.6.0 and compare how the minimum swipe distance or sensitivity is determined. Implement a way to configure minimumDistance or improve Android sensitivity, then verify that short normal-speed swipes behave consistently on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100