react-planet
react-planet copied to clipboard
Add popout offset prop
If I have planet in a corner and want the satellites to do a full orbit, they will go off screen on the left and bottom. It would be really helpful to have the component be able to shift right and up on open to make space for the entire orbit to be on screen.
@CSFlorin you could change the values for tension, friction or mass in way that the bouncing is not that strong.
Another way could be that I expose the clamp prop of react-spring. It stops the animation immediately if it touch the bound of the container. It looks like this:
< br/>
clamp = false

clamp = true

Would it be an option for you to expose the clamp prop?