Open coolman90011 opened 3 years ago
@coolman200
Thank you for the bug report.
I reproduced it and found no error when I use the shape
after draw
and selecting all the objects in the demo.
Is it right to go next?
Draw
Shape
draw
+ shape
)@lja1018 You can change @toast-ui/react-image-editor to V3.14.3, 1.Draw 2.Shape 3.Select all objects (draw + shape) 4.Click all objects to move.
It will show error.
As title,React us @toast-ui/react-image-editor V3.14.3 https://codesandbox.io/s/elegant-germain-s6gc0?file=/src/DrawBorad.js this is demo here.
And when I use "import ImageEditor from '@toast-ui/react-image-editor/src';" I must add "src" in the last string. But there is no bug in V3.14.2.
Load a picture, using draw function then using shape. Then select all object and will show fail and all object always stick mouse.
When I select all object (include draw object and shape object) , if will show fail.
But in @toast-ui/react-image-editor V3.14.2 has no this bug.
https://codesandbox.io/s/serene-taussig-8nnq7?file=/src/Drawbox.js
This is using @toast-ui/react-image-editor V3.14.2, it can select to different object.
Can any one help?