Hi!
I still cannot reproduce the double clicking issue. I do notice a few potential issues in your code though.
-
You are creating an annotation named
newAnnot
but then importing an annotation calledtextAnnot
into annotation manager (which does not exist) -
You are not passing a dependency array to
useEffect
which means you may be mounting WebViewer multiple times, which will cause issues.
Also, I’m a bit confused about your last message. Is this a new error that is occurring?
Thanks,
Logan