callstack / callstack/react-native-pager-view

Seeing a blank screen when I use setPageWithoutAnimation to last page, however as I just move my fingers (left-right) over the screen I see the UI

オープン
#387 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
question Resolution: Needs Repro
主要言語
TypeScript
スター
3.4k
フォーク
476
平均マージ
10日 21時間
マージ済み PR(30日)
2

説明

I am using version 5.1.11 and thank you for this amazing package. I am trying to jump to the last page using ref.current.setPageWithoutAnimation(lastPage)

However, I see a blank screen and if I move my finger little bit (left-right) on the screen it then shows me the UI
This happens sometimes and sometimes it works correctly.

Can anyone guide me if I am missing something here.

Thank you.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、バージョン 5.1.11 で ref.current.setPageWithoutAnimation(lastPage) を呼び出したときに断続的に空白画面になる現象を再現し、小さく指を左右に動かすことで UI が表示されるかを記録します。成功したページ移動と失敗したページ移動を比較し、最後のページに直接移動すると手動操作なしで UI が常にレンダリングされることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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