Free Support Forum -

Error on initial zero width



I get an error in the current GroupDocs.Annotation 2.1.1 version (see attached file), if it starts up in an IFrame with zero width (case: collapsed annotation sidebar on startup).

If I initialize it with a width greater than zero, everything is fine and I can change the IFrame to zero width and back with no error.

I can workaround that issue with a zero width check, but I think you might want to avoid a crash in your code.




Hi Phil,

Thank you for sharing this. Soon we will release a next generation Annotation library which will have no UI and to use it you will need to create your own UI - since that this issue will no be a problem any more.

Until we will release a next generation library please use your workaround with checking for zero width.

Best regards.