Make the whole page the bound #482
-
Hi! I have just started to with this lib and with react-spring this seems really powerfull! What I aim to do is a component that floats on the page and the user should be able to move it to any position inside the page body. And with this question I also wonder if its possible to stop highlighting text elements when moving the component around? Regards T |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hey @Sorkstryparen this looks like something doable indeed ;) Can you share a sandbox with your first attempt ? I'll iterate on it afterwards and comment my code. |
Beta Was this translation helpful? Give feedback.
-
I just wanted to add this if anyone else comes here, this is my final solution to make the whole page the bound:
|
Beta Was this translation helpful? Give feedback.
Hey @Sorkstryparen this looks like something doable indeed ;) Can you share a sandbox with your first attempt ? I'll iterate on it afterwards and comment my code.