-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
In certain scenarios, navigateByUrl does not apply query params.
Expected behavior
It should always apply query params.
Minimal reproduction of the problem with instructions
Plunkr provided here: http://plnkr.co/edit/846in1yy0rjneOR5YbXD
Click the two buttons at the top to see the difference in behaviour.
What is the motivation / use case for changing the behavior?
Environment
Angular version: 4.3.5
Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
johnny-mh, nadworny, Ty3uK, crysislinux, Braincompiler and 34 more