-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Adding (ngClass) classes is different in beta.11 + Angular 4.4.3 #7257
Comments
I wasn't able to reproduce with |
I wasn't able to reproduce either. @julianobrasil do you have a more specific reproduction? |
I'm not near a computer right now. I'm going to close this one and reopen it when I have a working plunk or something to show it. But I had to change this in a project after the last upgrade |
@julianobrasil are you using flex-layout nightly build? It does not seem to be just a material problem, but a material + flex layout: angular/flex-layout#428 |
@robisim74, yep... I'm using flex-layout nightly build. I'll try to add it in my reproduction plunk. |
Yes I can confirm its an issue with the latest nightly build of flex-layout. Material beta.11 + Angular 4.4.3 works perfectly with flex-Layout last beta (2.0.0-beta.9). |
@naveedahmed1, as you've opened an issue in flex-layout repo and it looks like the problem is over there, I'll keep this one closed over here. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug? After upgrade both angular to 4.4.3 and Material to beta.11,
[ngClass]
started to replace the classes of material components instead of add one more to the list of classes.What is the expected behavior?
In previous versions, if you used ngClass in a Material Component, it would add the desired class to Material classes.
What is the current behavior?
It is replacing the classes now. Not sure if this was a change in Material or in Angular. I had to change, for example:
In:
where I had:
now I had to do something like:
What are the steps to reproduce?
Just upgrade to Material beta-11 + Angular 4.4.3
The text was updated successfully, but these errors were encountered: