Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($browser): handle async updates to location #12819

Closed
wants to merge 2 commits into from

Conversation

petebacondarwin
Copy link
Member

This is hopefully the fix that will go into master.
We will publish a patch for older versions separately.

Closes #12241

Both browser reloads and iOS 9 bugs cause the window.location to report
a different href that which we have just set. The change does not become
available until the next tick.

This change generalises previous work to deal with reloads to deal with
the iOS 9 bug in the UIWebView component.

Closes angular#12241
@IgorMinar
Copy link
Contributor

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite digest on location change on iOS 9 w/ UIWebView (not in Safari/ WKWebView)
2 participants