locomotive-scroll icon indicating copy to clipboard operation
locomotive-scroll copied to clipboard

Scroll Speed on Firefox with trackpad too fast

Open jankohlbach opened this issue 3 years ago • 7 comments

Hello 👋

Describe the bug Since a few days, I noticed the scrolling speed when using firefox and a trackpad on laptop is really high. It' way faster than on chrome or with a mouse also. I also tried to set firefoxMultiplier to 0, but nothing changed.

To Reproduce Steps to reproduce the behavior:

  1. I think any website that's using locomotive scroll, also https://locomotivemtl.github.io/locomotive-scroll/
  2. scroll with a trackpad in firefox

Expected behavior It should be the same speed as in chrome, (or basically just slower like before)

Desktop (please complete the following information):

  • OS: windows
  • Browser: firefox vers. 90.0.2
  • Version: 4.1.1

Thank you 👊

jankohlbach avatar Jul 26 '21 07:07 jankohlbach

please, @Jerek0 @quentinhocde @ABXlink this is on all the sites that are using locomotive scroll, would love if you could take a look why this is happening now

jankohlbach avatar Jul 27 '21 12:07 jankohlbach

update: I think I know where the issue is: https://github.com/ayamflow/virtual-scroll/blob/47635337fdca80513901081f24e63d4bde53ed1e/src/index.js#L83 looks like this in the used virtual-scroll package is broken for trackpad on firefox (locomotive is not using the newest version, but that does/would not make a difference here I think)

jankohlbach avatar Aug 07 '21 10:08 jankohlbach

https://github.com/ayamflow/virtual-scroll/issues/25

jankohlbach avatar Aug 07 '21 10:08 jankohlbach

@devenini sorry, but I don't think this is solved, even when the package is updated, locomotive scroll still needs to update to the new fixed version

jankohlbach avatar Oct 26 '21 13:10 jankohlbach

Oh my bad. I misread "locomotive is not using the newest version, but that does/would not make a difference here I think". I will take a deep look into this when I clear the next batch of issues, since updating VS (we're currently on 1.5.2) to the newest version might break features in the library. Reopening the issue 😅

devenini avatar Oct 26 '21 14:10 devenini

no worries, thanks :) great to see you working on it

jankohlbach avatar Oct 26 '21 15:10 jankohlbach

update: we found out it might be an os, or even hardware issue ... https://github.com/ayamflow/virtual-scroll/issues/25#issuecomment-954932223

jankohlbach avatar Oct 30 '21 11:10 jankohlbach