callstack / callstack/react-native-pager-view

(Android) Views position is not correctly when rotate the screen

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

説明

## Environment
The repo example.

## Description
When you set prop `setOffscreenPageLimit`(ex: setOffscreenPageLimit=1).The view is not displayed correctly after rotating the device.

![Screenshot](https://user-images.githubusercontent.com/37471959/139384385-2a744994-3b8f-4622-b1d0-0072bec55daa.jpeg)

## Reproducible Demo
1.Set prop `setOffscreenPageLimit={xxx}`
2.Swipe to second view.
3.Turn on automatic rotation on the device.
4.Rotate the device.

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

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

調査の方向性

リポジトリの例から始め、setOffscreenPageLimit を使用して2番目のビューまでスワイプし、デバイスを回転させて問題を再現します。回転時の Android ビュー位置の動作を調査します。オフスクリーンページの制限を設定した状態で、回転後にビューが正しく表示されれば完了です。

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

評価

技術スタック
android, react-native
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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