leecade / leecade/react-native-swiper

Disable vertical swiping

Open
#824 3 comments 4 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 ? IOS and probably android
Version

Which versions are you using:

  • react-native-swiper v1.5.13
  • react-native: Using the expo version sdk-27.0.0
Expected behaviour

If horizontal swipe is selected I want to completely disable the vertical swiping

Actual behaviour

If horizontal swipe is selected I still can swipe content vertically a few pixels and I can also slide the content by swiping from top-left to bottom-right (swiping more vertically than horizontally), so my question is if I can do something about that. If I can disable somehow the vertically swiping if the content is horizontal.

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 vertical movement with react-native-swiper v1.5.13 on the reported horizontal configuration for iOS and Android. Done means horizontal swiping no longer permits vertical movement or diagonal gestures that move the content vertically.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.