angular 14+ modal back navigation issue
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- angular, typescript
- 領域
- mobile-dev
研究方向
從連結的範例專案開始,在 Angular 14+ 和 NativeScript-Angular 14+ 上重現關閉模態框、返回 Home Screen 以及導覽事件重複的問題。將其行為與 Angular 13 進行比較;當返回導覽在 Android 和 iOS 上不再觸發額外的 Home Screen 導覽或重複事件時,即可認為該問題已解決。
由索引模型根據 Issue 內容生成。
描述
Environment
- CLI: 8.4.0
- Cross-platform modules: 8.4.0
- Android Runtime: 8.4.0
- iOS Runtime: 8.4.1
- NativeScript-Angular: 14+
- Angular: 14+
After closing a modal (contains page-router-outlet) in the second screen and navigating back to Home Screen, then automatically runs a new Home Screen navigation.
I checked with the navigationTo event: it fires like forward navigation too.
navigatedTo event in Home Screen after closing modal and navigating back (event fires twice):
- isBackNavigation: false
- isBackNavigation: true
This happens on android and on ios.
The latest version of Angular 13 and @nativescript/angular 13 is working fine, but nothing above it.
Sample project
https://github.com/BalintVegh/ns-angular-modal-issue
- 主要語言
- TypeScript
- 星號
- 55
- 分支
- 13
- 平均合併
- 16 分鐘
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/angular 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 45/100
NativeScript/angular#170 · 1 則留言 ·
-
難度 5/5 一週以上 新手友好度 35/100
NativeScript/angular#164 ·
-
難度 2/5 1-3 小時 新手友好度 45/100
NativeScript/angular#163 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 38/100
NativeScript/angular#158 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 35/100
NativeScript/angular#155 ·
查看 NativeScript/angular 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
0xMiden/bridge-portal#132 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 82/100
-
area:tools bug good first issue help wanted priority:P2
難度 2/5 1-3 小時 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 則留言 ·