-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ngHref adds two history records in legacy browsers #8998
Comments
Speaking of this, @tbosch should we backport the location fixes you wrote into 1.2.x? They still have the broken url parser on click. I would be willing to bet this issue is related to that. |
Yes, we will. Just waiting a little longer for feeback... |
can we verify if this still happens with 1.3.x? if it does let's look into it, otherwise let's close this as fixed. |
Will look into this tomorrow... |
Cannot reproduce on IE9 nor IE8 and Angular 1.2.15 nor latest in all of the following cases:
I used the following code (can't use plunker as the code listed above is meant to be run on
|
Could you provide another reproduction case? |
this is known to happen when iframes/objects are involved (which is obviously not showing up in the pasted code) --- iframes really screw up the history API |
Hm, that is weird. I have tried everything to reproduce the bug again, but with no luck. It just works now. I guess we can close this issues. If I run into this behavior again I will try to provide more information. Thanks for the effort! |
Closing as suggested... |
Clicking on a link with ngHref directive in a legacy browser (IE8-9) will adds two records into browser history. There are need two clicks on back button to get back to previous page then.
Here is a sample application that will reproduce this behavior (needs to be run IE8-9):
(sorry I didn't manage to create a working plunkr example)
I'm running AngularJS v1.2.15.
Can you please confirm this bahaviour?
The text was updated successfully, but these errors were encountered: