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

Scrollbar slow with mouse wheel on Firefox #34

Open
julianfox opened this issue Feb 19, 2021 · 2 comments
Open

Scrollbar slow with mouse wheel on Firefox #34

julianfox opened this issue Feb 19, 2021 · 2 comments

Comments

@julianfox
Copy link

I noticed that on Firefox the scroll is very slow with a mouse wheel, no issue with Mac trackpad and no issue on others browsers.

I tried to play with content.decelerate without success. any idea how to fix it?

@davidfig
Copy link
Owner

Firefox has a different mouse scroll amount than the other browsers. This was fixed in pixi-viewport for the wheel plugin, but the fix was not in the drag() plugin, which is what pixi-scrollbox uses.

I just updated pixi-viewport to 4.20.0. Please update and let me know if that helps in firefox. The lineHeight is set to 20, which should mimic chrome for wheel scrolls.

Let me know if this helps.

@julianfox
Copy link
Author

julianfox commented Feb 20, 2021

Hey @davidfig Thanks! That work perfectly now 🎉

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

2 participants