callstack / callstack/react-native-pager-view

How to Detect Overscroll and from which direction?

未关闭
#478 0 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
TypeScript
星标
3.4k
派生
476
平均合并
10 天 21 小时
30 天内合并 PR
2

描述

## Ask your Question

I would really like to call a function as soon as a user swipes past the last page and swipes back from the first page. I can't seem to figure this out, is there a way? I know I can detect scrolling with "onPageScrollStateChanged", but I need to ONLY detect if they're swiping left on the last page or right on the first page...

Thanks for this awesome project!

贡献指南

打开贡献指南

调研方向

首先检查现有的 onPageScrollStateChanged 入口点,以及 React Native pager 如何暴露滑动操作。确定是否已经支持边缘方向检测;如果尚不支持,请明确滑过最后一页或从第一页向后滑时的预期行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。