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

Before routerAnimation completed and change route immediately #6

Open
DanielYKPan opened this issue Jul 8, 2017 · 0 comments
Open

Comments

@DanielYKPan
Copy link

First of all, good demo.

The current angular version of this demo project is 4.2.0-rc.1 and it works fine.

But when I update to angular version 4.2.5, there is an error running the demo.
The error occurs when I switch between two routes before each routerAnimation completed
Here is the console error message:
ERROR Error: animation building failed:query(".image")returned zero elements. (Usequery(".image", { optional: true })if you wish to allow this.)

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