Which product are you using?
PDF.js Express Plus
PDF.js Express Version
8.7.4
Detailed description of issue
Selecting text to annotate results in incomplete/incorrect annotation. For example, highlighting three sentences might result in a textual annotation of all but the lasts couple of characters, while the rendered highlight may or may not match that - sometimes the highlight might cover the selection, sometimes it might skip a word or characters in mid-selection. It is inconsistent. Across text, across documents, across PDF sources. There are many other tickets related to this behavior in 8.7 and earlier. You have referenced PDF.js core as the problem and said tickets should be opened with Mozilla. However, you have not updated your code beyond 8.7.4, which is now a year old. PDF.js has had many updates since then with at least a few related to text selection. Are you not actively releasing updates anymore? You should be rolling updated versions of PDF.js into your core to fix these kind of issues. We pay for updates and support but you haven’t provided any updates.
PDF.js has multiple bugs related to text selection that have completed dates after June of 2023. Why should we keep paying you if you aren’t dropping new code updates?
Expected behaviour
Text selection and annotation text and rendering should all match up.
Does your issue happen with every document, or just one?
Most documents can be made to display this behavior.
Link to document
This is a link to one of the other tickets that are out there on this topic.
Code snippet
{Provide a relevant code snippet}