We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a:
My version of UI-Router is: 1.0.20
$onInit is called twice when componentProvider is used.
$onInit
componentProvider
$onInit should be called once.
Navigating to about fires $onInit twice (componentProvider ). Home only once (component).
component
https://stackblitz.com/edit/ui-router-angularjs-g5wlce?file=app.js
This issue have been introduced recently, I think it worked in 1.0.17.
The text was updated successfully, but these errors were encountered:
fix(viewDirective): add check for componentProvider
f087d5e
avoid extra trigger for $onInit (fixing angular-ui#3735)
tests(viewDirective): add check for componentProvider
f772928
check extra trigger for $onInit (angular-ui#3735)
#3779 appears to fix this issue.
Sorry, something went wrong.
fix(viewDirective): add check for componentProvider, avoid extra trig…
c3e87ad
…ger for $onInit (fixing #3735) (#3779)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This does not mean that the issue is invalid. Valid issues may be reopened.
Thank you for your contributions.
No branches or pull requests
This is a:
My version of UI-Router is: 1.0.20
Bug Report
Current Behavior:
$onInit
is called twice whencomponentProvider
is used.Expected Behavior:
$onInit
should be called once.Link to Plunker or stackblitz that reproduces the issue:
Navigating to about fires
$onInit
twice (componentProvider
). Home only once (component
).https://stackblitz.com/edit/ui-router-angularjs-g5wlce?file=app.js
This issue have been introduced recently, I think it worked in 1.0.17.
The text was updated successfully, but these errors were encountered: