callstack / callstack/react-native-pager-view
How to detect if user swipes (up/down) when pager-view is horizontal? (on Android)
未关闭
question
- 主要语言
- TypeScript
- 星标
- 3.4k
- 派生
- 476
- 平均合并
- 10 天 21 小时
- 30 天内合并 PR
- 2
描述
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 ?
贡献指南
调研方向
未指定文件、测试或入口点。首先明确在保持水平 pager 滚动正常工作的同时检测垂直滑动时 Android 的预期行为,然后调查 react-native-pager-view 与所提及的 panGestureHandler 方案之间的交互;当能够检测到预期手势且不破坏水平分页时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, react-native
- 领域
- mobile-dev
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100