When the screen is <640px, ‘contextMenuPopup’ cannot be used

Product:webviewer

Product Version:6.3.1

Please give a brief summary of your issue:
When the screen is <640px, ‘contextMenuPopup’ cannot be used.

Please describe your issue and provide steps to reproduce it:
In the PDFTron source code, when the screen width is less than 640 px, right click on the screen does not pop up.


Apart from modifying the source code, there are other ways to use ‘contextMenuPopup’, when the screen is less than 640px.

Hi,

I am afraid not. But we have introduced new APIs for this in latest v8.0 version, please check:
https://www.pdftron.com/api/web/UI.html#.enableDesktopOnlyMode
https://www.pdftron.com/api/web/UI.html#.disableDesktopOnlyMode

Thanks.

Wanbo