Is there a way to not to hide the TextPopup when a scrolling action is performed?

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.7.1

Detailed description of issue
The TextPopup is closed when a scrolling action occurs, this is a problem due to the fact that when an accidental scrolling action occurs the highlight is closed and has to be reopened.

Expected behaviour
If the user does a scrolling action in the viewer the popup shouldn’t disappear and should stick to the highlighted text.
Does your issue happen with every document, or just one?
Every document.

Hi tamas.ravasz,

There is no API to prevent this, unless you hijack the browser’s onscroll event and reopen the TextPopup,

You can also modify the UI to prevent this by following the Advanced UI Customization guide

Best regards,
Tyler