Form Designer Context Menu

Hi Team, 

I've observed a significant difference in context menu behavior between PC and mobile devices. On PCs, the context menu functions perfectly. However, on mobile devices, the context menu are not working as intended. Screenshots are attached for your reference.


On PC: 
Image_1079_1742096979948


On Mobile devices:

Image_9834_1742097029168


11 Replies 1 reply marked as answer

SK Sathiyaseelan Kannigaraj Syncfusion Team March 17, 2025 03:32 PM UTC

Hi Yonz,

Thank you for reaching out to us. Currently, form designer support is not available on mobile devices, so the context menu items will appear the same as in desktop mode. To achieve a similar context menu experience on mobile, you can enable desktop mode. Please review this and confirm whether it meets your requirements.


Regards,
Sathiyaseelan K



YO Yonz March 18, 2025 06:53 AM UTC

Hi Sathiyaseelan,


I have configured enableDesktopMode to true to ensure the context menu behaves identically on both desktop and mobile. While the setting works as expected on PCs, mobile devices are still presenting their default context menu, rather than the intended desktop version.



Regards,

Yonz



SK Sathiyaseelan Kannigaraj Syncfusion Team March 19, 2025 01:40 PM UTC

Hi Yonz,

Thank you for the update. We were able to reproduce the reported issue “Context menu appeared different for both the desktop and mobile mode” and suspect this to be a defect. We will analyze further on this and update you with more details on March 21, 2025.


Regards,
Sathiyaseelan K



YO Yonz March 20, 2025 07:52 AM UTC

Hi Sathiyaseelan,

Thank you for the update. We appreciate you looking into this and confirming the issue. We'll look forward to hearing more details on March 21, 2025.

Best regards,

Yonz



YO Yonz March 20, 2025 07:52 AM UTC

Hi Sathiyaseelan,

Thank you for the update. We appreciate you looking into this and confirming the issue. We'll look forward to hearing more details on March 21, 2025.

Best regards,

Yonz



SK Sathiyaseelan Kannigaraj Syncfusion Team March 21, 2025 01:21 PM UTC

Hi Yonz,


Thank you for your patience. This issue has already been fixed in the recent Volume 1 release, and the fix will be included in the upcoming Volume 1 release. We expect to release it by next week. Once Volume 1 is released, we will provide an update.


Regards,
Sathiyaseelan K



YO Yonz March 22, 2025 12:15 PM UTC

Thank you for the update, Sathiyaseelan. I appreciate you letting me know, and I look forward to the Volume 1 release next week.



YO Yonz March 22, 2025 12:15 PM UTC

Thank you for the update, Sathiyaseelan. I appreciate you letting me know, and I look forward to the Volume 1 release next week.



SK Sathiyaseelan Kannigaraj Syncfusion Team March 26, 2025 11:43 AM UTC

Hi Yonz,

Thank you for your patience.
We have fixed the reported issue "Context menu appeared different for both the desktop and mobile mode" and the fix for the reported issue was included in our latest weekly release v29.1.33. Kindly upgrade to that version to get the issue resolved.

Root cause: The context menu was not appearing on long-press in touch mode because the original logic only checked if the device was a touchscreen (Browser.isDevice) but did not account for whether the text selection was specifically made using touch. Additionally, it only considered selections where the selectionRangeArray length was greater than zero.

Solution: A check for isTouchSelection, ensuring that touch-based text selections are correctly identified. Additionally, the condition was refined to explicitly handle cases where the selectionRangeArray length is exactly one, ensuring proper detection of text selections in touch mode.

Packages:   

Service side package

ASP.NET Core :      
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core     


ASP.NET MVC:      
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc5/      
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc4/


CDN Links:

https://cdn.syncfusion.com/ej2/29.1.33/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/29.1.33/material.css
https://cdn.syncfusion.com/ej2/29.1.33/dist/ej2-pdfviewer-lib/pdfium.js
https://cdn.syncfusion.com/ej2/29.1.33/dist/ej2-pdfviewer-lib/pdfium.wasm 


Regards,
Sathiyaseelan K


Marked as answer

YO Yonz March 30, 2025 06:00 AM UTC

Issue resolved. Thank you, Sathiyaseelan, for your assistance.


SK Sathiyaseelan Kannigaraj Syncfusion Team March 31, 2025 06:34 AM UTC

Hi Yonz,

We're pleased to hear that your issue has been resolved. Don't hesitate to reach out if you need any further assistance.


Regards,
Sathiyaseelan K


Loader.
Up arrow icon