'How to display the box base on X and Y coordinates, react-moveable
I am using react-moveable and I need to display the square box base on the previous user dragged position. For instance, user drags the box, I save the X and Y coordinates. Now, when user revisits the website again, I need to display that box exactly at the place where he left before. I have X and Y coordinate to do that, but not sure what to do. I have been reading the doc and have no luck so far. Can someone help me out, please?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
