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
we have navigationPropagator.afterNavigation but it fires as the (animated) transition is beginning. Currently the only way to await the end of a transition is transitionFinished at the individual Navigable level
this new callback probably belongs at the navigator level. But something global would be useful too, for elements that don't have access to each navigator (e.g. we want to change Toolbar UI whenever a navigation finishes "somewhere")
The text was updated successfully, but these errors were encountered:
cmathew
changed the title
Expose callbacks for completed transitions
Expose callback for completed transitions
Jul 21, 2022
two options to achieve this. 1.) use a static, global event system similar to how currentScreen works today or 2.) look into scoping it per-navigator i.e. described in: #254 for currentNavigable
we have navigationPropagator.afterNavigation but it fires as the (animated) transition is beginning. Currently the only way to await the end of a transition is
transitionFinished
at the individual Navigable levelthis new callback probably belongs at the navigator level. But something global would be useful too, for elements that don't have access to each navigator (e.g. we want to change Toolbar UI whenever a navigation finishes "somewhere")
The text was updated successfully, but these errors were encountered: