WebViewer Version: 10.7.0-20240204 (Updated to 10.10.1, but issue is still there)
Do you have an issue with a specific file(s)? .docx
Can you reproduce using one of our samples or online demos? No because annotations are drawn programmatically
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? Using NextJs/React
Is your issue related to annotations? Yes
Please give a brief summary of your issue:
WebViewer does not draw strikeout annotations on long docx documents.
Please describe your issue and provide steps to reproduce it:
We are using docx file to be rendered on WebViewer. We facilitate users drawing strikeouts using WebViewer annotation feature in UI. Then once the document is rerendered, strikeout annotations are listed with annotation manager and draw them again as follows.
// On change to document
const annotations= annotationManager.getAnnotationsList().filter(a => a.Subject == "Strikeout")
annotationManager.deleteAnnotations(annotations, { force: true });
// Do something here and redraw the same annotations
Core.annotationManager.addAnnotations(annotations, {});
await Core.annotationManager.drawAnnotationsFromList(annotations);
In this case, the last part of the document (after page 7, 8), strikeout annotations are not drawn, but first pages will have them properly.