aksonov / aksonov/react-native-router-flux

Changing the scene even though the app is already in this scene

Aperta
#3,305 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
8.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey guys, how are you?

I Have a problem with switch Scene on my app, and i spend hours and hours searching for solution, but unlucky.

- react-native-router-flux v4.0.4
- react v16.4.1
- react-native v0.56.0

### Expected behaviour

When i click on a button to switch scene and i am on this scene, app don't could switch scene, and only refresh scene with params what code send.

### Actual behaviour

I Have a scene called "home", when i am on home and clicked on button "to home", he switch scene from "home" to "home", don't make sense.

### Steps to reproduce
1. Create a Navigation Scene.
2. Put a button for navigation to this scene.
3. Click in this button and see app switch scene.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.