-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Cant use ng-class on accordion group since 1.33.3 #4193
Comments
Saldy, I'm closing this due to the responses on here Sadface. |
Don't be sad. We're actually looking out for you and your app's best interests here (even though it may not feel like it). Did you read the comments in this link? Merging classes can yield very unpredictable behavior - this is one of the reasons |
uses toggleClass in isOpen watch Fixes angular-ui#4193
Temporary workaround - put your ng-classes in your plain "class" attribute: Before:
After:
|
@LeleDev, this is not a workaround, temporary or otherwise. CSS classes are not applied in the order they appear in your DOM element's class attribute, but rather, where they are defined in your CSS file(s), and thus, the order in which they are loaded. |
It's a workaround for who wants to make things works without using ng-class, and it should work in most of the cases |
You can no longer use
ng-class
on an accordion group since this commit.ead15e37
#4152
#3419
The text was updated successfully, but these errors were encountered: