Can not push a screen after dismiss an overlay

Aperta
#7,546 9 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react-native
Ambito
mobile

Direzione di ricerca

Inizia riproducendo la sequenza segnalata in React Native Navigation 7.28.0: mostra l'overlay con le opzioni fornite, chiudilo ed esegui il push di una schermata sia su iOS sia su Android. Traccia cosa succede dopo la chiusura quando il push registra il componente Profile ma non lo visualizza; il lavoro è completato quando la schermata sottoposta a push appare nella UI dopo la chiusura dell'overlay.

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

Descrizione

needs triage triage: bug

🐛 Bug Report

Can not push a screen after dismiss an overlay

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

To Reproduce

(Write your steps here:)

  1. Show an overlay using below code:
    Navigation.showOverlay({
    component: {
    name: modalName,
    options: {
    overlay: {
    interceptTouchOutside: true,
    handleKeyboardEvents: true,
    },
    layout: {
    componentBackgroundColor: COLORS.transparent,
    },
    },
    passProps,
    },
    });
  2. Dismiss overlay
  3. Push to a screen using Navigation.push(componentId, {.....})
  4. It shows Running "Profile" with {"rootTag":661,"initialProps":{"componentId":"Component14"}} but not push to this screen on the UI as my expectation.

Expected behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots, if applicable.)

Your Environment

  • React Native Navigation version: 7.28.0
  • React Native version: 0.68.2
  • Platform(s) (iOS, Android, or both?): both ios and android
  • Device info (Simulator/Device? OS version? Debug/Release?): FILL THIS OUT

Reproducible Demo

(Paste the link to an example repo and exact instructions to reproduce the issue.)
Screen Shot 2022-06-22 at 00 14 38

Are you willing to resolve this issue by submitting a Pull Request?
  • ✅   Yes, I have the time, and I know how to start.
  • ✖️   Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️   No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
Lingua principale
MDX
Stelle
13.2k
Fork
2.6k
Merge medio
3h 21m
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 wix/react-native-navigation

Tutte le issue di wix/react-native-navigation

Issue simili

Altre issue su Mobile Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.