espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of pdfium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
60 stars 36 forks source link

PDF not scrollable with finger(touch point) on smaller devices #144

Open Sikman opened 3 weeks ago

Sikman commented 3 weeks ago

The user can't scroll through the PDF on smaller screens with its finger. Will that be possible?

Sikman commented 3 weeks ago

I would like to add it is not scrollable with mouse at all...Any touch point

Sikman commented 3 weeks ago

I have tested - works but only when we set enableTextSelection: false; Can this be somehow combined, so that both work?

espresso3389 commented 3 weeks ago

It's a known bug. We cannot touch/drag to scroll on texts if text selection is enabled. And, currently I don't know how to deal with it. And it is the reason why the feature is still in beta.

Sikman commented 3 weeks ago

@espresso3389 The temporary solution can be - when is the smaller screen disable text selection: enableTextSelection: !smallScreen;

Anyway people will not use on mobile the select functionality? But will be awesome when the touch point scroll function on all screens together with text selection works.