@grapecity/gcpdfviewer Click handling issue

Posted by: aheath on 28 May 2021, 4:28 am EST

    • Post Options:
    • Link

    Posted 28 May 2021, 4:28 am EST

    We’re currently evaluating the gcpdfviewer and noticed a strange issue on some user’s machines (including mine). The PDF viewer doesn’t seem to recognize left clicks on the displayed PDF. Clicking any of the toolbars and sidebar items works as expected but left clicking an annotation or attempting to place an annotation on a PDF doesn’t respond.

    Here are a few things we noticed about this issue:

    • "

    • “This issue doesn’t appear to be implementation-related because it also happens on the demos in your documentation”

    • “It only seems to affect left-clicks. Right-clicking an annotation highlights it as expected.”

    • " After testing on several machines, it appears the issue may be related to touch-enabled devices. To confirm this, I used a machine that didn’t have the issue and connected to it via RDP from a touch-enabled device and the issue re-appeared."


    I would appreciate any assistance you can provide in resolving this issue as we would like to purchase a license and begin using the PDF viewer in our system.

  • Posted 28 May 2021, 4:46 am EST

    I just want to add that this behavior occurs regardless of web browser and the only determining factor seems to be whether the device is touch-enabled or not. On those devices, touch handlers seem to work fine. It’s the left click handler that misbehaves.

    (Note to moderators: This post seems to have been duplicated accidentally. Please remove the other ones and keep this version)

  • Posted 30 May 2021, 3:32 pm EST


    We are sorry for the inconvenience, we tried to replicate the issue at our end and we are unable. We tried to replicate the issue at our end using the below link:


    We open this link in the Mobile browser and it works well. Could you please let us know the detailed steps so that we may replicate the issue at our end? Because of the pandemic situation (Covid 19), we are working from home and we have limited device access.

    Hence if you would provide the detailed steps, we may try with our team and try to replicate the issue,

    Regards, Manish Gupta

  • Posted 11 June 2021, 12:23 am EST

    Hi Hadas,

    We were able to replicate the issue on Mozilla by modifying the touch settings. And it was forwarded to the concerned team with the internal tracking id DOC-3255.

    The dev team is working on this issue and it should be fixed in the next hotfix. We will let you know as the hotfix is released.

    Regards, Manish Gupta

  • Posted 10 July 2021, 1:12 am EST

    Hi Hadas, We are sorry for the inconvenience, this issue will be fixed in the next hotfix release after 2.1.21. Thank you for your patience.

    Regards, Manish Gupta

  • Posted 16 August 2021, 2:33 pm EST

    Hi Hadas, The issue has been fixed in the latest release 2.2.11 which can get from NPM(https://www.npmjs.com/package/@grapecity/gcpdfviewer?activeTab=readme).

    Regards, Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels