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

[Crane] Use AnimatedContent to transition between content states. #843

Merged
merged 8 commits into from
Jun 20, 2022

Conversation

@riggaroo riggaroo requested a review from a team as a code owner June 13, 2022 15:06
@riggaroo riggaroo requested a review from Gurupreet June 13, 2022 15:06
@riggaroo riggaroo self-assigned this Jun 13, 2022
@riggaroo riggaroo requested review from simona-anomis and removed request for Gurupreet June 20, 2022 09:18
slideOutOfContainer(
towards = direction,
animationSpec = tween(600)
) using SizeTransform(clip = false, sizeAnimationSpec = { initialSize, targetSize ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting nit: I'd push SizeTransform into a new line and split out its params into individual rows, just for readability

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using the notion with it can't be split onto a new line as its actually an argument

Copy link
Contributor

@simona-anomis simona-anomis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor nit comments, feel free to not resolve them :)

@riggaroo riggaroo merged commit 203a582 into main Jun 20, 2022
@riggaroo riggaroo deleted the riggaroo/animated-content-crane branch June 20, 2022 14:07
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.

None yet

2 participants