-
Notifications
You must be signed in to change notification settings - Fork 763
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
clipChildren for Transition #792
Comments
Hey @liufsd, sadly this is not possible as we always set clip children to false when running animations. There's no support for something like this. The only solution would be to wrap the animating component within a MoutSpec. |
hi @nicous thanks for the reply! But maybe mountspec doesn’t support width or height changed animation . Width or height changed will be changed others node size at same time. |
And second question, when I change the width or height use by layout, it will be not smooth at some time . It Looks like show end size at first and then translated to new end size! |
Hi @liufsd, the mountspec idea was to create a framelayout with a lithoview and animate the component in the lithoview, not the mountspec. |
@ngorogiannis hi ~. "0:3"s or "0:6"s , you will found the 'second question' SVID_20210608_162507_1.mp4
|
Hey @liufsd |
Version
Issues and Steps to Reproduce
child larger than parent and enable clipChildren , wish Animation will be right.
Record_2021-05-31-13-42-08.mp4
Expected Behavior
show right
clip
height when transitioning.Link to Code
The text was updated successfully, but these errors were encountered: