Vanilla Demo
the demo is great https://daybrush.com/moveable/
Shows a lot of the capability of what I am after. It would be really helpful if there was a vanilla version of the code to inspect
@sdraper69
The vanilla demo still has a lot going for it.
Since the React version is also being prepared, other frameworks or vanilla are yet to be decided.
https://github.com/daybrush/scena
I am also looking for the source code of the website https://daybrush.com/moveable/. I found the compiled code at https://github.com/daybrush/moveable/tree/master/demo, but there is no source code available. Could you please provide a copy of the source code? I need to refer to this code to solve the problem where the selection box also scales after the canvas is scaled in my project. I observed in this demo that when an element is selected, the canvas scales, but the selection box does not. I want to achieve this effect. Upon examining the original DOM structure, it was observed that during canvas zooming, the zoom of the "moveable-control-box" is increasing, not decreasing. I would like to know how this is specifically implemented. @sdraper69 @daybrush
It's solved .. 🥲 zoom={1 / zoom}