locomotive-scroll
locomotive-scroll copied to clipboard
Scroll Speed on Firefox with trackpad too fast
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:
- I think any website that's using locomotive scroll, also https://locomotivemtl.github.io/locomotive-scroll/
- 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 👊
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
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)
https://github.com/ayamflow/virtual-scroll/issues/25
@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
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 😅
no worries, thanks :) great to see you working on it
update: we found out it might be an os, or even hardware issue ... https://github.com/ayamflow/virtual-scroll/issues/25#issuecomment-954932223