Opening datepicker inside a modal causes flickering!

オープン
#870 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

Start with the linked Snack repro and compare the datepicker’s behavior in a production build on an iPhone with a physical home button against Expo Go and the simulator. The issue identifies modal presentation through @react-navigation/native as the trigger, but does not name the relevant source files or tests. Done means opening the datepicker in that setup no longer makes the screen flicker.

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

説明

This happens with @react-navigation/native using screen presentation: "modal"

When running a production installation of my app on my iPhone SE (3rd gen), opening the datepicker inside of the screen makes the whole screen jump (flicker).

However this does not happen when running the app using the expo go on a real device nor on a simulator. This only happens when the app binaries has been built, it also only happens on phones with physical home buttons.

link to repro

Video of current behaviour.

https://github.com/react-native-datetimepicker/datetimepicker/assets/96067238/cbb4a57f-77bf-4463-97c1-b1d398075c04

Video of expected behaviour.

https://github.com/react-native-datetimepicker/datetimepicker/assets/96067238/f9fab734-ad07-4240-8a8f-5523330b430c

主要言語
JavaScript
スター
2.9k
フォーク
459
平均マージ
4日 16時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-native-datetimepicker/datetimepicker のほかの issue

react-native-datetimepicker/datetimepicker の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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