ionic-team / ionic-team/ionic-framework

bug: location.replaceState does not update url in stack controller view item

オープン
#21,925 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る
package: angular type: bug
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# Bug Report

**Ionic version:**
[x] **5.x**

**Current behavior:**
I am doing a replace.State on the queryParams depending on which ionSlide is selected.
In the template:
```

```
Ionic:

Ionic CLI : 6.11.0 (/Users/zen/.nvm/versions/node/v12.18.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.1
@angular-devkit/build-angular : 0.1000.6
@angular-devkit/schematics : 10.0.6
@angular/cli : 10.0.6
@ionic/angular-toolkit : 2.3.0

Utility:

cordova-res (update available: 0.15.1) : 0.12.1
native-run : 1.0.0

System:

NodeJS : v12.18.2 (/Users/zen/.nvm/versions/node/v12.18.2/bin/node)
npm : 6.14.7
OS : macOS Mojave
```

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

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

調査の方向性

Start with angular/src/directives/navigation/ion-back-button.ts and trace the IonRouterOutlet.pop() path identified in the issue. Run the linked StackBlitz reproduction and compare ion-back-button with Angular Location.back(), NavController.navigateBack(), and the browser back button. Done means the back button preserves the URL from the latest location.replaceState call.

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

評価

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

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

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