Skip to content

Not all Parallax Instances are working (Firefox) #83

@clmsftsw

Description

@clmsftsw

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions