Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: Can only highlight one word on mobile #19073

Open
tprotopopescu opened this issue Nov 19, 2024 · 2 comments
Open

[Bug]: Can only highlight one word on mobile #19073

tprotopopescu opened this issue Nov 19, 2024 · 2 comments
Labels

Comments

@tprotopopescu
Copy link

Attach (recommended) or Link to PDF file

https://mozilla.github.io/pdf.js/web/viewer.html

Web browser and its version

Firefox 132.0.2

Operating system and its version

Android 13

PDF.js version

Firefox 132.0.2

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Long press on a word to begin highlighting a block of text.
  2. Instead of going into text selection mode the word under the finger is highlighted.

What is the expected behavior?

A long press would enter text selection mode in order to select the block of text, after which it would be possible to choose to highlight the text.

What went wrong?

The word under the finger was highlighted instead of entering text selection mode.

Screen_Recording_20241119_141525_Firefox.mp4

Link to a viewer

No response

Additional context

Possibly related to #18931 ?

@mintxdp
Copy link

mintxdp commented Nov 21, 2024

Hey, i opened it in my android phone and it was just fine.

Steps to select multiple words :

Select one word.
Drag/Select as many words you want.
Now remove the selection and it will mark/highlight the word.

@tprotopopescu
Copy link
Author

Hi, thanks for the instruction, but I know how to select multiple words; unfortunately, continuing to drag does not have the desired effect of enlarging the selection.

Screen_Recording_20241121_095855_Firefox.mp4

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants