You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thank you for this nice library. Unfortunately, I'm facing troubles in detecting the bounding box of an annotation with getBBox(). I do this via refs of React. Strangely, for a some annotations I can get the correct bounding box and for others I only get width and height equals 0. I think, my Parent component calls the getBox function before the annotations are actually completely rendered in some cases.
What is the correct way to get the bounding boxes of annotations?
Thanks a lot!
Cheers,
Jan
The text was updated successfully, but these errors were encountered:
Hey,
first of all thank you for this nice library. Unfortunately, I'm facing troubles in detecting the bounding box of an annotation with getBBox(). I do this via refs of React. Strangely, for a some annotations I can get the correct bounding box and for others I only get width and height equals 0. I think, my Parent component calls the getBox function before the annotations are actually completely rendered in some cases.
What is the correct way to get the bounding boxes of annotations?
Thanks a lot!
Cheers,
Jan
The text was updated successfully, but these errors were encountered: