Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Issue with scroll in web platform(chrome and firefox browsers) #130

Open
mlevytskiy opened this issue Oct 18, 2023 · 4 comments
Open

Issue with scroll in web platform(chrome and firefox browsers) #130

mlevytskiy opened this issue Oct 18, 2023 · 4 comments

Comments

@mlevytskiy
Copy link

I have question regarding mouse wheel scroll or touchpad scroll(scroll using drag and drop works well) in web plaform. It works differently in different browsers: it doesn't work from the box in chrome and firefox, but works in safary. Could we somehow fix it in chrome and firefox?

I want to use this library instead of pdfx. It works smoothly and perfectly with zoom; but I don't know how to fix scroll in it.

@espresso3389
Copy link
Owner

Could you give me more detail explanation of your problem? Using some movie or something.

@mlevytskiy
Copy link
Author

2023-10-18-181325_wHOXbamw.mp4

Hope the video will open and you can see what is going on.
Just want to add that this library really good compare to pdfx that I used before. It has better API in the controller (not only the possibility to update by Matrix4 and perfect rendering).
But this bug with scroll... I don't know how to fix it.

Appreciate your job! I really love how animation works here when I implemented zoom in/ zoom out buttons in pdf documents.

@jarradsl
Copy link

I would love to see a fix for this but have no idea how to fix!

@d-e-h-i-o
Copy link

I have also the issue that both on Chrome and Firefox (on Mac), scrolling via "swiping" the trackpad will zoom the PDF instead of scrolling (which is the default behavior for most PDF tools)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants