-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Behavior 'Expand All' with angular animate 1.3.15 and ui-grid 3.0.0-RC21 #3696
Comments
I think it's associated with using groupPriority: 100 - in general groupPriority is numeric starting at 1: Having said that, I thought we'd done tidyup on the priorities on initialisation to avoid issues like this. Nope, I thought that fixed it, it doesn't. It looks to me like grouping maybe isn't working well with angular 1.3. But no idea at all why. I can't see anything about the code that would impact it. It perhaps is associated with pinned containers? |
Hi Paul it seems to be related to ngAnimate. if I remove ngAnimate in module app, there is no problem. |
Yeah, the problem is that that makes no sense. There's no animation code anywhere in grouping. Which leaves me wondering what else is broken. If you downgrade to angular 1.2 then it works fine with animation still included. |
Hi, Yes, if I downdrage to 1.2 it's working, but we can't downgrade, we have already develop every thing in 1.3 ... I read a bit about ngAnimate, https://docs.angularjs.org/api/ngAnimate, and even if expand/collapseAll doesn't involve animate, ngClass does ! :
The conditions for ngClass are good! but I have the impression that the ngAnimate struggling with the transition from one class to another For exemple, this condition return false
But the I continue to investigate, hoping to find a solution Edit : ok, it's seems related to angular 1.3 ... angular/angular.js#10811 |
@PaulL1 : I have an idea but I do not know if it's worth it. We can disable ngAnimate only for uiGridTreeBaseRowHeaderButtons Directive. This involves adding
what do you think about it? |
Rumour has it that 1.3.16 works. Is that worth trying? |
Hello, Of course that worth. I try with angular 1.3.16 but ... It doesn't work :( (http://plnkr.co/edit/URYETKsjgPUOgFKPhfYK?p=preview) I try with angular 1.4.0 and ... it work lol |
You may have other problems with angular 1.4.0 #3658 |
I am seeing a similar problem, as illustrated in the image below: Rows which represent entries in a group sometimes also display the group's minus symbol. I created a Plunker. You may need to collapse and expand the rows a few times to see the bug: |
Hey everyone, I just wanted to bump this issue and say that I am also experiencing this problem exactly as described with angular 1.3.15 and ui-grid 3.0.0-RC22. It doesn't appear to break anything functionally, and clicking the extra minus symbols doesn't appear to do anything but it doesn't look great. Is updating to the latest version of angular the recommended solution or have people encountered other issues with angular 1.4.2 and ui-grid as @JLLeitschuh mentioned? |
The animate problem is due to a flip in the parameters for animate: |
Hi,
I'm not sure why, and how, but the expand all action work fine, but the icons are not good.
http://plnkr.co/edit/URYETKsjgPUOgFKPhfYK?p=preview
If I disable ngAnimate, it's working fine.
Is this related to #3647 ?
The text was updated successfully, but these errors were encountered: