-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll step in Firefox is too small #159
Comments
TL;DR: Probably need to account for the "scale"/units indicated by ContextI also observed this behaviour in Firefox on ElementaryOS on a laptop with a trackpad. Relevant codeFrom a brief investigation it appears this may be the relevant code: Lines 809 to 820 in 0f33bc7
Specifically, the code that appears to read the delta change per axis from a Lines 813 to 814 in 0f33bc7
Underlying cause?The MDN
But the docs also mention a
with valid values for:
Thus, the underlying cause of the issue seems like it might be not taking the I suspect the exact behaviour observed is probably dependent on the specific combination of:
(Although the browsers may themselves handle some of the variance.) Path to a solutionIt seems like a solution to this issue would require:
Additional details
|
Approaches used by other Rust projects to handle scroll wheel delta issue, in no particular order (click to view):
|
@follower thanks for that detailed analysis! On my mac |
Too many inconsistencies across browsers. Related web spec issue: |
Describe the bug
Scrolling step and speed are too small. The area scroll by only 3 pixels per click of the scroll wheel.
WebKit and Blink based browsers scroll 60 pixels in one click.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The area should scroll about 60 pixels in single click.
Screenshots
https://user-images.githubusercontent.com/180812/106979999-03b4d180-6792-11eb-8b99-04938d175cfe.mp4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: