Opening datepicker inside a modal causes flickering!

Aperta
#870 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ios, javascript, react-native
Ambito
frontend, mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
2.9k
Fork
459
Merge medio
4g 16h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di react-native-datetimepicker/datetimepicker

Tutte le issue di react-native-datetimepicker/datetimepicker

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.