Drag and Drop on a scaled container
问题 I am new to React. I am working on a project, whose one of the features is dragging and dropping The draggable components are supposed to be dragged and dropped on the container, say A.container , A also has the feature of zoom in and zoom out. I have achieved this feature by changing its scale accordingly to achieve zoom in and zoom out. To achieve zoom in, I am multiplying the original scale which is 1 by 2. To achieve zoom out, I am dividing the current scale by 2. The dropped component is