Unknown padding when animating background #1136
Unanswered
MonumentalCloud
asked this question in
Support
Replies: 1 comment
-
Hey guys, this was a painful rookie mistake, but if anyone in this world is having the same problem, it might be that you're putting tag in your App.js file. This leads to two body component rendering in index.html, and when animating the background color of the inner body tag, it won't animate the outer body. Lesson learned is to never nest body tags!!!!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! I'm new to React in general and this might be a really easy fix, but I noticed that when I try to animate background color through react spring, it creates this un-deletable padding around, creating a white border. How can I fix this? Thank you!


Beta Was this translation helpful? Give feedback.
All reactions