callstack / callstack/react-native-pager-view
Rendering in ScrollView makes gestures hard to be picked up on Android
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 476
- Avg merge
- 10d 21h
- Merged PRs (30d)
- 2
Description
## Environment
Android
react-native: 0.66.4
react-native-pager-view: 5.4.15
## Description
Running into a couple of issues when rendering pager view inside ScrollView on Android.
1. Swiping diagonally at a small angle - 10-20 degrees - gets captured by scrollview and not pager view.
2. Swiping horizontally while the the scroll still has momentum doesn't get captured by pager view.3.
These issues combined make a terrible user experience on Android.
| Diagonal swipe | Scroll momentum |
|:--------------------------:|:-------------------------:|
|  |  |
## Reproducible Demo
https://snack.expo.dev/D1avOzeAs?platform=android
Contributor guide
Assessment
This issue has not been assessed yet.