Enable Annotating or Selecting text while scrolling

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
8.4.0

Detailed description of issue
Unable to annotate or text select on scroll

Expected behaviour
Recording 2022-10-27 at 10.54.56

Does your issue happen with every document, or just one?
All

Link to document
Any document

Code snippet
{Provide a relevant code snippet}

Hi there,

You can select text while scrolling on our demo (note that this is on 8.7):

Note that annotating is only possible through the ‘View’ mode on the toolgroup bar.

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

Sorry, but is does not let you scroll when you select the text or try to annotate, here I have tried the demo, it should let you scroll up or down according to the mouse direction as described in the expected behavior

Recording 2022-10-28 at 21.16.28

Hi there,

Please see the attached video, I was able to scroll up and down (using the mouse wheel) while my mouse left click was held down.

https://pdftron-my.sharepoint.com/:v:/p/kkim/EdHbfg41xGhArUvHT7ZqhyMBv4WdAIMZi979VlhAxBZYpA?e=Xz1aKR

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

Hi Kkim,

You are right, it works with a mouse, but it doesn’t work using a computer touchpad on its own.

Please check it.

Thank!

Hi there,

Thank you for your response,

I just tried with a track pad on a MacBook and it is more tricky but it is doable. What seems to be happening is the system gesture takes precedence occasionally and it sometimes prevents the scrolling with the 2 finger vertical gesture. You might need to ‘reset’ that gesture first and then try scrolling up or down while holding down the first click.

I suspect the same thing will happen for Windows.

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here