Secretmapper / react-image-annotation

An infinitely customizable image annotation library built on React
https://secretmapper.github.io/react-image-annotation/
MIT License
329 stars 135 forks source link

More examples in demo #6

Closed AdamGerthel closed 6 years ago

AdamGerthel commented 6 years ago

I haven't tried the solution from #5, but I would love to see a "cancel" button in the demo, or at least some form of cancellation. I tried clicking outside the annotation area (the overlay) several times before I realised that I couldn't easily cancel.

I also think it would feel more natural to have to click and drag to start a new annotation area instead of just click, since it's quite easy to mis-click and start a new annotation (which there is currently no way to cancel). I think it's fair to say that that's how most graphics software as well as document writer software (Word, Pages etc.) manages boxes of different kinds.

Secretmapper commented 6 years ago

@AdamGerthel Thanks for the feedback. I agree with changing annotation from click to drag to start, I'll add it in the next version.

Secretmapper commented 6 years ago

Fixed by ec523c544a32d12661f50f5a0a21bfff46ecfffd