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

Add layout="size" for size-only layout animations #1154

Merged
merged 1 commit into from Jul 2, 2021

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented May 17, 2021

Implements the "size" value for layout, for symmetry with "position" and to allow for some layout-animation-driven components that grow and shrink but don't animate position as they are moved around in the document flow.

Fixes #1032.

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 17, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5ed2f82:

Sandbox Source
Framer Motion: Simple animation Configuration
App Store UI using React and Framer Motion Configuration
Framer Motion: Reorder animation Configuration
Framer Motion: growing item positionTransition issue Configuration
Framer Motion: Image lightbox Configuration

@mattgperry
Copy link
Collaborator

Hey @bhollis this looks great, thanks for the PR. There's a lot of movement with the layout animation stuff so there'll be a bit more of a delay merging this but it looks really good, great test coverage too.

@bhollis
Copy link
Contributor Author

bhollis commented Jun 7, 2021

Awesome, take your time, there's no pressing need. Just excited to contribute to this great project!

@mattgperry mattgperry changed the base branch from main to fix/jump July 2, 2021 09:09
@mattgperry mattgperry changed the base branch from fix/jump to main July 2, 2021 09:11
@mattgperry mattgperry merged commit c57c724 into framer:main Jul 2, 2021
@bhollis bhollis deleted the layout-size branch July 2, 2021 17:46
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.

[FEATURE] layout="size"
2 participants