Steps to reproduce the error:
1. Open the following link: https://stackblitz.com/edit/ns6rcb-vwlrdt?file=index.js,index.html
2. Click on the folder icon (Open file) and open the PDF document attached to this message.
3. Right-click on a field.
4. The following error is displayed in the console.
Hi Pere Argelich,
We
were able to reproduce the reported issue "Exception occurred on right click form fields” and suspect this to
be a defect. We will analyze further on this and update you with more details
on April 5th, 2024.
Regards,
Sathiyaseelan K
Hi Pere Argelich,
We have confirmed the issue "Exception occurred on right click form fields" and logged it as a defect. The fix
for the issue will be available in our upcoming weekly NuGet release on April 17th, 2024. You can track the status of the
issue through the following link.
Feedback link: Exception occurred on right click form fields | Issue
Feedback
Disclaimer: "Inclusion of this solution in the weekly
release may change due to other factors including but not limited to QA checks
and works reprioritization."
Regards,
Sathiyaseelan K
Hi Pere Argelich,
We have fixed the reported issue "Exception occurred on right click form
fields" and the fix for the reported issue was included
in our latest weekly release v25.1.40. Kindly upgrade to that version to
get the issue resolved.
Root cause: The issue occurred because the document provided by the customer has
restrictions on content copying, page extraction, and commenting, which
disabled the text selection module.
Solution: We should validate whether the textSelectionModule is null or
undefined before accessing the isTextSelection property in the
contextMenuOnBeforeOpen method within the context-menu file.
Packages:
Regards,
Sathiyaseelan K