callstack / callstack/react-native-pager-view
[Android] onPageSelected callback fire before the ViewPager finishes navigating to the selected page with swiping.
オープン
bug
- 主要言語
- TypeScript
- スター
- 3.4k
- フォーク
- 476
- 平均マージ
- 10日 21時間
- マージ済み PR(30日)
- 2
説明
## Environment
React native v0.70.5
Pager View v6.1.0
## Description
onPageSelected callback fire before the ViewPager finishes navigating to the selected page on Android. IOS is fine.
Changing screen with swipe that trigger screen change with the velocity help. In the middle of screen transition onPageSelected fires.
## Reproducible Demo
The one with example folder
コントリビューションガイド
調査の方向性
まず、指定された React Native と Pager View のバージョンを使って example フォルダー内の再現可能なデモを実行し、次に Android で速度のあるスワイプを再現します。Android の onPageSelected コールバックのタイミングを ViewPager の遷移と照らし合わせて追跡し、iOS の挙動と比較します。選択されたページへのナビゲーションが完了する前にコールバックが発火しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100