Skip to content
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

Issue with compose element and composition #936

Open
Daniel-Glucksman opened this issue Jul 18, 2019 · 0 comments
Open

Issue with compose element and composition #936

Daniel-Glucksman opened this issue Jul 18, 2019 · 0 comments

Comments

@Daniel-Glucksman
Copy link

If you use a compose element (who's activate function returns a promise) within a ViewModel, the router complete event seems to fire before the promise is resolved which causes a jumpiness in the navigation. If we remove the compose element from the view model everything works fine.

Is this behavior intended? Shouldn't the router wait for the entire view to compose include any composed elements ( before considering navigation complete?

The process looks like this:

  • Navigate from page A to Page B
  • Router.IsNavigating = true
  • Router.IsNavigating = false (at this point page A still shows as Page B hasn't fully been composed)
  • Page B is fully composed and shown.
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

No branches or pull requests

1 participant