Skip to content

fix(uiSrefActive): don't match fuzzy on lazy loaded future states #3619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2018
Merged

Conversation

fpipita
Copy link
Contributor

@fpipita fpipita commented Jan 26, 2018

This PR addresses an issue I've got into by working with lazy loaded future states and the ng-{style,class} interface.

Basically, the directive didn't update its private list of the known states when future states were resolved so the uiSrefActive instances that were linked before the lazy states were added to the stateRegistry, kept incorrectly doing a fuzzy match on all the future state's lazily registred children.

@christopherthielen christopherthielen merged commit 0a807ae into angular-ui:master Jan 30, 2018
@christopherthielen
Copy link
Contributor

thanks!

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

Successfully merging this pull request may close these issues.

2 participants