ionic-team / ionic-team/ionic-framework
bug: location.replaceState does not update url in stack controller view item
- Langage dominant
- TypeScript
- Étoiles
- 52.7k
- Forks
- 13.3k
- Merge moyen
- 1 j 15 h
- PR mergées (30 j)
- 51
Description
# 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
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100