Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React using draw function then using shape function. Then select all, object always stick mouse. #609

Open
coolman90011 opened this issue Jun 30, 2021 · 2 comments
Labels

Comments

@coolman90011
Copy link

coolman90011 commented Jun 30, 2021

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.
image

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?

@lja1018
Copy link
Contributor

lja1018 commented Jul 7, 2021

@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?

  1. Draw
  2. Shape
  3. Select all objects (draw + shape)

@coolman90011
Copy link
Author

@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.
image

It will show error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants