callstack / callstack/react-native-pager-view

How to Detect Overscroll and from which direction?

オープン
#478 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
question
主要言語
TypeScript
スター
3.4k
フォーク
476
平均マージ
10日 21時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。