callstack / callstack/react-native-pager-view
How to detect if user swipes (up/down) when pager-view is horizontal? (on Android)
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 476
- Avg merge
- 10d 21h
- Merged PRs (30d)
- 2
Description
If my react-native-pager-view orientation is horizontal so it works fine when user scrolls horizontally, but I also want to know if user is trying of swiping up/down. I tried implementing panGestureHandler from react-native-gesture-handler but then react-native-pager-view does not work 🙁, can you please tell me, how can I achieve it ?
Contributor guide
Research direction
No files, tests, or entry points are named. First clarify the expected Android behavior for detecting vertical swipes while horizontal pager scrolling remains functional, then investigate the interaction between react-native-pager-view and the mentioned panGestureHandler approach; done means the intended gesture can be detected without breaking horizontal paging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100