Open CodeLines3 opened 3 years ago
@maleSun Thank you for your report. The cause is that cropzone becomes null when removing cropzone from canvas on Line 270(cropper.js). I will resolve it. If you are in a hurry, please refer to example02 js.
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!
This issue will be closed due to inactivity. Thanks for your contribution!
The submenu is detected here, resulting in the early execution of this.stopDrawingMode.
Emmm, a workaround is to manually set the subemenu
to crop
.
This problem seems to still exist
custom like [http://nhn.github.io/tui.image-editor/latest/tutorial-example02-useApiDirect]( Use api direct )
using library method startDrawingMode, when I crop by mousemove event
Originally posted by @maleSun in https://github.com/nhn/tui.image-editor/issues/501#issuecomment-847965516
and then apply method crop() is TypeError: _set of null from fabric.js line 9194