question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox scrolling too fast/sensitive

See original GitHub issue

We have a web application using pixi-viewport, but for users using Firefox, the zoom scrolling is much too fast compared to Chrome.

How to reproduce

  1. Open https://davidfig.github.io/pixi-viewport/ in Firefox (tested in 74.0.1, but observed with other versions).
  2. Scroll in and out and notice how very fast/sensitive it is.
  • Compare this to Chrome (tested in 80.0.3987.149, but observed in others). Chrome’s scrolling is much more controlled and natural.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mcdenhoedcommented, Apr 7, 2020

Anecdotally, using Chrome on macOS 10.14 and scrolling my mouse one tick shows a deltaMode of 0 and deltaY of 4.

Meanwhile, using Firefox and scrolling one tick shows a deltaMode of 1 and a deltaY of 1 .

I noticed this line in the Wheel Plugin:

https://github.com/davidfig/pixi-viewport/blob/f5a0db698af9c35a9e3789d5d3440641c6e072dd/src/plugins/wheel.js#L89

Perhaps the issue here is simply that PIXI Viewport’s fudge factor accounting for Line Scrolling is too sensitive? Based on my numbers above, changing that value to 4 should yield a more uniform experience (or better yet, maybe that should be a plugin option).

0reactions
johnthagencommented, Apr 20, 2020

Fixed in #216

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I slow down scrolling speed for Firefox in Windows 10?
The scroll speed is so fast it goes to the bottom of the page ... How to adjust the scrolling in Firefox on...
Read more >
mouse/scroll speed adjustments? : r/firefox - Reddit
Is there a way to adjust the scroll speed only in Firefox, for some reason scrolling feels slower than when I scroll on...
Read more >
How to Fix Mouse Wheel Scrolling Sensitivity in Latest Version ...
This article will cover a guide on modifying mouse scroll sensitivity using these hidden options. Browsing Hidden Options in Firefox. To view hidden...
Read more >
Touchpad scrolling is too fast-sensitive (#3631) - gtk - GitLab
Firefox scroll like 100x faster. We need to provide the approximately same scroll experience on all apps independently of the GUI toolkit before ......
Read more >
How to Change the Scrolling Speed in Firefox [Quick Tips]
1. Open a new tab in your Firefox browser and type “ about:config “. · 2. In the Search bar, type: mousewheel. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found