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

fix: make children on AnimatedComponent optional #1925

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

LinusU
Copy link
Contributor

@LinusU LinusU commented Jul 4, 2022

Why

It fixes the issue described here: https://github.com/pmndrs/react-spring/pull/1705/files#r913068712

What

I have made the children property optional on the AnimatedComponent component.

I tested this out in my project by editing the file in node_modules, making the same change as proposed here.

Checklist

  • Ready to be merged

@vercel
Copy link

vercel bot commented Jul 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-spring-io ✅ Ready (Inspect) Visit Preview Jul 4, 2022 at 2:46PM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 4, 2022

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 9e46e1c:

Sandbox Source
spring-animating-auto Configuration
spring-card Configuration
spring-cards-stack Configuration
spring-css-keyframes Configuration
spring-exit-before-enter Configuration
spring-goo-blobs Configuration

@joshuaellis
Copy link
Member

Thanks for this! I've ran the tests so we can see if it's working fine.

@joshuaellis joshuaellis merged commit 35da18b into pmndrs:master Jul 4, 2022
@LinusU LinusU deleted the patch-1 branch July 5, 2022 13:10
@LinusU LinusU mentioned this pull request Jul 5, 2022
3 tasks
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.

2 participants