You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in legacy ui-router, $stateChangeSuccess is fired immediately after global state is updated and before the views are rendered.
Currently the stateEvents.js polyfill fires the event by chaining off the $transition$.promise, which seems OK, but views can already be loaded at this point.
In 1.0, the hook which updates globals is a priority 10000. The invoke views hook is priority 0.
To match legacy behavior, move the $stateChangeHook polyfill event to priority 9999, just after globals are updated.
The text was updated successfully, but these errors were encountered:
in legacy ui-router,
$stateChangeSuccess
is fired immediately after global state is updated and before the views are rendered.Currently the
stateEvents.js
polyfill fires the event by chaining off the$transition$.promise
, which seems OK, but views can already be loaded at this point.In 1.0, the hook which updates globals is a priority 10000. The invoke views hook is priority 0.
To match legacy behavior, move the
$stateChangeHook
polyfill event to priority 9999, just after globals are updated.The text was updated successfully, but these errors were encountered: