Skip to content

Using mdInput breaks router animation #18193

@bob-lee

Description

@bob-lee

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Router animation fails due to errors on query(':enter') if the page uses material component like mdInput. Replacing mdInput with plain input gets back 'home => about' animation.

Expected behavior

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/SY1g8KihCEjd5BAcDBk6?p=preview

What is the motivation / use case for changing the behavior?

Environment


Angular version: 4.2.4


Browser:
- [x ] Chrome (desktop) version 59
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 6.10.0  
- Platform:  Windows 

Others:

Metadata

Metadata

Assignees

Labels

area: animationsregressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions