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

Using OverlayScrollbars breaks css transform property in Firefox #320

Closed
arthur-clq opened this issue Apr 1, 2021 · 2 comments
Closed

Comments

@arthur-clq
Copy link

Describe the bug
Hi KingSora, first off thank you so much for creating and maintaining this awesome plugin, made my projects look so much more awesome compared to build in scrollbars.

I recently created a parallax scrolling page and applied this plugin to it. It worked fine in Chrome but breaks the css transform property in Firefox. I have tried the vanilla version and also the Vue wrapper and both have the same issue.

My guess is that the added nesting of elements created by OverlayScrollbar somehow broke something in Firefox. Works fine in chromium based browsers (Chrome and Edge).

To Reproduce
https://jsfiddle.net/arthur_clq/er85q36w/12/

Expected Behavior
When scrolling, the background image should scroll slower than the content. However in Firefox, the background is scrolling at the same rate as the contents and even the scale is wrong.

Environment

  • Used Operating System(s): Windows 10
  • Used Browser(s) (with version): Chrome 89.0.4389.114, Firefox 87.0
@KingSora
Copy link
Owner

KingSora commented Apr 5, 2021

Good day @arthur-clq!

Thats a though issue.. I don't think I can solve it for v1 but I can try with v2 since its possible to get rid of some wrapper elements there.

@KingSora
Copy link
Owner

v2 released today where this issue should be fixed :)

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

No branches or pull requests

2 participants