Replies: 3 comments 4 replies
-
Please provide a reproducible example via CodeSandbox, StackBlitz etc. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try to remove react strict mode ReactDOM.render( Remove <React.StrictMode> |
Beta Was this translation helpful? Give feedback.
1 reply
-
Did you read the example in the docs? https://annotorious.dev/react/component-reference/#openseadragonpopup If I make this change, things seem to work fine. <OpenSeadragonAnnotationPopup
popup={props => (
<CommentPopup {...props} />
)} /> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My code is re-rendered 4 times to display a single image, hence the problem that popup throws an error in an attempt to render. If I try to open the annotation, I run into a problem - Rendered more hooks than during the previous render.
Maybe I'm doing something wrong?
https://codesandbox.io/p/github/Keberson/annotoriuos/master?import=true
Beta Was this translation helpful? Give feedback.
All reactions