tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
15 stars 0 forks source link

bug with grabbing and moving bounding boxes #127

Closed nathanielrindlaub closed 1 year ago

nathanielrindlaub commented 1 year ago

Seems to grab whole image? Needs investigation

nathanielrindlaub commented 1 year ago

The issue was that react-draggable didn't behave as expected when wrapped with a <ContextMenu/>. Solved by setting bounds=".full-size-image" on the <Draggable /> component.