NativeScript / NativeScript/angular

Wrong back navigation after using nested outlets with the TabsComponent

オープン
#131 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
55
フォーク
13
平均マージ
16分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、記載された NativeScript、Angular、Android Runtime のバージョンで github.com/tujlaky/nativescript-tabs-demo の再現アプリを実行します。報告されているナビゲーションの手順に従い、TabsComponent とネストされた outlet のナビゲーション動作を調査します。Home タブに戻ったときに Item 1 ではなく最後にアクティブだったビューが表示されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。