Skip to content
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

[Migrate] Built-in transition with AnimatedContent #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KaustubhPatange
Copy link
Owner

This uses the new experimental AnimatedContent API instead of modifying modifiers which is what navigator-compose does.

@KaustubhPatange
Copy link
Owner Author

AnimatedContent under the hood uses AnimatedVisibility's enter & exit transition which limits to only fading, sliding & change size. If there is a requirement for rotate animation, then it can't be achieved.

Also providing custom transition by modifying the graphics layer through the Modifier is not possible (which is what they are doing internally) due to the above limitations.

Considering these factors, I'll wait till they become more flexible before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant