aksonov / aksonov/react-native-router-flux

Actions.popTo("screenKeyName") not working, says undefined route name.

Aberta
#3,410 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
8.9k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### Version
Tell us which versions you are using:

- react-native-router-flux v 4.0.6
- react v16.4.2
- react-native v0.55.4

### Expected behaviour
I have 2 tabs (TabA and TabB). When a user navigates from Tab A to B, some screen let say B-Main is open which list on which some navigation takes place consider the navigated screen to be B-subScreen.
When I press the back option **from B-subScreen** , I want to come to the **Tab A's Main screen**. So I used,

> Actions.popTo('A-Main');

### Actual behaviour

On performing this action, **undefined route is warning is returned and nothing happens**. Am i doing this in the right way?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.