Skip to content
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

Scrolling on Firefox is so slow, firefoxMultiplier not working ? #50

Closed
edoardolunardi opened this issue Oct 9, 2019 · 3 comments
Closed

Comments

@edoardolunardi
Copy link

I noticed that the scroll on Firefox is too slow. Reading through the lib, there's firefoxMultiplier that should increase the scroll speed when firefox is detected.

Still, the scroll is too slow, and setting firefoxMultiplier like

const scroll = new LocomotiveScroll({
        el: scrollRef.current,
        smooth: true,
        smoothMobile: false,
        firefoxMultiplier: 100,
      })

does nothing.

Any solutions?
Thanks.

@oguilleux
Copy link

I think it's because it's not an option of locomotive-scroll but one of its dependencies : Virtual scroll. So unless Locomotive decides to add it as an option for the locomotive-scroll instance, it's not reachable.

@devenini
Copy link
Member

Hi! We added firefoxMultiplier as an option of the instance. However according to Virtual Scroll, this will only work on Windows. (https://github.com/ayamflow/virtual-scroll#options)

@ZachSaucier
Copy link

ZachSaucier commented May 9, 2020

Any workarounds for Firefox on Mac? The firefoxMultiplier seems to be ignored on Macs for me but the virtual scroll creator says its not an issue with virtual scroll.

For now I'm just disabling smooth scroll on Firefox.

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

No branches or pull requests

4 participants