# Enable Annotating or Selecting text while scrolling

**URL:** <https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [October 28, 2022, 11:54am UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131 "2022-10-28T11:54:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ons.othmen](https://avatars.discourse-cdn.com/v4/letter/o/6de8d8/32.png) [@ons.othmen](https://pdfjs.community/u/ons.othmen)\
**Post date:** [October 28, 2022, 11:54am UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/1 "2022-10-28T11:54:59Z")

</div>

**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](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/3/3803ffb43cf6bb26124705d498e57eff1509b8b1.gif)

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

**Link to document**  
Any document

**Code snippet**  
{Provide a relevant code snippet}

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [October 28, 2022, 6:41pm UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/3 "2022-10-28T18:41:35Z")

</div>

Hi there,

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

> **[PDF.js Viewer Demo | PDF.js Express](https://pdfjs.express/demo?product=plus)**
>
> Try the PDF.js Express Viewer demo: 26 out-of-the-box annotations, PDF form filling, e-signatures, UI customization, light/dark themes & more.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/1/1568d329e148a15da06f67c58036971e46696991.png)

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](https://utm.guru/ueQNw)

---

<div class="post-metadata">

**Author:** ![ons.othmen](https://avatars.discourse-cdn.com/v4/letter/o/6de8d8/32.png) [@ons.othmen](https://pdfjs.community/u/ons.othmen)\
**Post date:** [October 28, 2022, 7:27pm UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/4 "2022-10-28T19:27:22Z")

</div>

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](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/2/2035943f41919f2cd59d0865c402b0ad20ae7006.gif)

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [October 28, 2022, 8:45pm UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/5 "2022-10-28T20:45:24Z")

</div>

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](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](https://utm.guru/ueQNw)

---

<div class="post-metadata">

**Author:** ![ons.othmen](https://avatars.discourse-cdn.com/v4/letter/o/6de8d8/32.png) [@ons.othmen](https://pdfjs.community/u/ons.othmen)\
**Post date:** [November 8, 2022, 3:53pm UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/6 "2022-11-08T15:53:50Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [November 9, 2022, 3:32pm UTC](https://pdfjs.community/t/enable-annotating-or-selecting-text-while-scrolling/2131/7 "2022-11-09T15:32:33Z")

</div>

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](https://utm.guru/ueQNw)
