callstack / callstack/react-native-pager-view
Random onPress handle in FlatList items while swiping pages
- 主要言語
- TypeScript
- スター
- 3.4k
- フォーク
- 476
- 平均マージ
- 10日 21時間
- マージ済み PR(30日)
- 2
説明
## Environment
expo v42.0.0
"react-native-pager-view": "5.4.0"
## Description
Random onPress handle in FlatList items while swiping pages
Especially noticeable on low-end android devices and in apps with many heavy components
## Reproducible Demo
There is a function in demo that imitate CPU intensive operation
in order for the issue to be stably reproduced in simple demo on high-end devices
https://snack.expo.dev/@sane.ecg/pager-onpress-issue
https://user-images.githubusercontent.com/764967/128613740-e384306f-a100-4b7c-9ade-7db12683d6e5.mp4
コントリビューションガイド
調査の方向性
issue にリンクされている再現可能な Snack デモから始め、ページをスワイプしている間の誤った onPress の動作を再現します。特に、シミュレートされた CPU 負荷の高い操作を使用する Android で確認してください。押された項目と表示されているページを比較し、示されている条件では、スワイプによって意図しない FlatList の項目ハンドラーがトリガーされなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100