-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Setting collapse panel height to 0 disables animation #99
Comments
@neberhardt123 yes this is "known limitation". This was expressed in the Demo app. Also XML comments explains it. (see both below) The problem is CSS not able to calculate the transition speed if Height is not a fixed value. Or something like that, however I'm not a CSS expert. I can try to look into it, but as mentioned I'm not a CSS guru... If you have any "simple" trick to solve this limitation that would be appreciated. Thanks.
|
@neberhardt123 Looked into this CSS issue and it seems there are few solutions. Unfortunately some of them does not trigger a DOM reorder (re-render) so leaves empty space on UI which is not good. So basically 1 possibility exists.... Instead of But updated If you think it is acceptable, then I will merge PR and can release the change with v1.6.0. Let me know... |
Yes that is a known problem of animating This issue is mentioned in that article. Also added XML comment to explain this. It can be mitigated by "guessing" the Ok merged this change to RC 1.6.0. I will release new packaged in the next few weeks. |
When I set ContentHeight for a CollapsePanel component to 0, it disables the open and close animation for it. Is there a way to retain the animations when I set the height to auto?
The text was updated successfully, but these errors were encountered: