Share Posted July 28, 2020 We have this animation that turns animates a PURPLE circle with respect to a RED circle to feel the full screen. Then when you close that (close button) it should animate back to the other circle. This currently works ONLY if you do not change the position of the RED circle by scrolling the page while the purple one is open. https://codesandbox.io/s/vigilant-snow-yhf5q?file=/src/Circle.js Is there some way to "recalculate" the props (location) of the circle when reversing? Cheers! See the Pen Circle.js by s (@s) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now