Double click behavior changes

Hello, 

We have noticed that the double click selection behavior changes depending on the neighboring elements, such as bookmarks or fields. When there is only text on the editor, double clicking a word will select that word, but when using bookmarks double clicking will behave unpredictably. Sometimes, it selects only the characters to the left of the cursor, sometimes it will select the remaining words of that line. This can happen both inside the bookmark and outside the bookmark. 

For instance, in the image below from the Syncfusion demos, clicking on "commercial", right next to the box will select the rest of the line.

Image_1905_1722257007278

I have also recorded a video demonstrating this behavior:
https://drive.google.com/file/d/1UKhydB4W5PsMVYzq73YE1OJjO3LY6p3l/view

Please let me know if there is anyway I can help with this issue.

Best regards,
Daniel Souza


4 Replies

DS Dhanush Sekar Syncfusion Team July 30, 2024 04:43 PM UTC

Hi Daniel,


We are able to replicate the reported issue and are validating it currently. We will update further details on this by August 1, 2024.


Thanks,

Dhanush Sekar



RT Ragu Thanigasalam Syncfusion Team August 1, 2024 05:34 PM UTC

Daniel,

We need additional timeline to validate the issue. We will check and update details by Aug 2, 2023.

Regards,
Ragu T.




SM Suriya Murugan Syncfusion Team August 5, 2024 07:57 AM UTC

We have confirmed the reported issue ‘Double click behavior changesas a defect and logged a defect report. We will fix this issue in our upcoming patch release which is scheduled for fourth week of August 2024.


You can track the status of the bug through the below feedback link:

Double click behavior changes in JavaScript | Feedback Portal (syncfusion.com)

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.”



BS Balamurugan Shanmugam Syncfusion Team August 27, 2024 02:02 PM UTC

We are glad to announce that our patch release (v26.2.11) has been rolled out successfully. In this release, we have added the fix for the reported issue in "Double click behavior changes".

Please upgrade to the latest version packages to resolve this issue:


Client side:

https://www.npmjs.com/package/@syncfusion/ej2-documenteditor

Server side:

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/ 

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/

Feedback link: 

https://www.syncfusion.com/feedback/60076/double-click-behavior-changes

Rootcause:

Upon double-clicking, the selection process incorrectly bypassed the bookmark element box. Consequently, the content was selected based on the incorrect offset value, leading to the issue.

Please let us know if you need any further assistance.


Loader.
Up arrow icon