Error
CoreControls.js:187 TypeError: Cannot read property ‘getBoundingClientRect’ of null
at webviewer-ui.min.js:52
at e (webviewer-ui.min.js:52)
at CoreControls.js:458
at Array.forEach ()
at e.x.trigger (CoreControls.js:458)
at y. (CoreControls.js:980)
at CoreControls.js:458
at Array.forEach ()
at y.x.trigger (CoreControls.js:458)
at HTMLDivElement. (CoreControls.js:886)
I cannot reproduce your issue in either version 6.3 or 7.0.1.
Do you have any other code that customizes the FreeTextAnnotation class? Can you share the code that adds the annotation to the annotation manager? Any other relevant code around this annotation would be helpful.
Detailed description of issue
After edting, export annotation and I get this xfdf string xfdf_annotation.zip (838 Bytes)
An error occurs when importing. And importing all annotations fail…
Expected behaviour
I hope that the freetext annotation can be properly modified and exported.
I would like to see the modified contents when importing.
Error
CoreControls.js:789 Uncaught TypeError: Cannot read property ‘AU’ of undefined
at webpack_exports.e.Rv (VM451 CoreControls.js:789)
at webpack_exports.e.Rk (VM451 CoreControls.js:790)
at ba.Rk (VM451 CoreControls.js:217)
at ba.Rk (VM451 CoreControls.js:331)
at ba.DX (VM451 CoreControls.js:324)
at ba.Pd (VM451 CoreControls.js:323)
at n.f.Nk (VM451 CoreControls.js:293)
at VM451 CoreControls.js:242
at Array.forEach ()
at VM451 CoreControls.js:242