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

Not all Parallax Instances are working (Firefox) #83

Open
clmsftsw opened this issue Jul 30, 2021 · 1 comment
Open

Not all Parallax Instances are working (Firefox) #83

clmsftsw opened this issue Jul 30, 2021 · 1 comment
Labels

Comments

@clmsftsw
Copy link

clmsftsw commented Jul 30, 2021

Hello!
I have the problem that only some of my Parallax Inits work. When expecting the code I saw that there is no translate3D on these elements:

screenshot

Here's my code:

var heroForeground = document.getElementsByClassName('hero-section-foreground');
var heroShip = document.getElementsByClassName('hero-section-ship');
var heroBackground = document.getElementsByClassName('hero-section-background');

new simpleParallax(heroForeground, {
    overflow: true,
    scale: 1.5,
});

new simpleParallax(heroShip, {
    overflow: true,
    scale: 0.8,
});

new simpleParallax(heroBackground, {
    overflow: true,
    scale: 0.6,
});

On Chrome it works without a problem.
Thanks in advance!

@edyken77
Copy link

I have the same issue. Second instance of simpleParallax in firefox not parallaxing.

@geosigno geosigno added the bug label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants