NativeScript / NativeScript/angular
Wrong back navigation after using nested outlets with the TabsComponent
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- TypeScript
- Estrellas
- 55
- Forks
- 13
- Merge medio
- 16 min
- PR fusionados (30 d)
- 1
Descripción
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 8.6.5
- Cross-platform modules:
- Android Runtime: 8.6.2
- iOS Runtime: -
- Plugin(s): -
- NativeScript-Angular: 16.0.1
- Angular: 16.2.0
Describe the bug
To Reproduce
I have created a demo app to reproduce the issue:
https://github.com/tujlaky/nativescript-tabs-demo
The following navigation steps would break the app:
- Item 1
- Show more
- Press the back arrow in the ActionBar twice
- Open the Browse tab
- Press Go outside button
- Press the back arrow in the ActionBar
- Open the Home tab
- It show Item 1
Expected behavior
It should how the last active view.
Sample project
https://github.com/tujlaky/nativescript-tabs-demo
Additional context
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza ejecutando la aplicación de reproducción en github.com/tujlaky/nativescript-tabs-demo con las versiones indicadas de NativeScript, Angular y Android Runtime. Sigue la secuencia de navegación indicada e inspecciona el comportamiento de navegación de TabsComponent y de los outlets anidados. Se considera terminado cuando, al volver a la pestaña Home, se muestra la última vista activa en lugar de Item 1.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100