Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

z-index not work on ios because of default translate3d(0.00001px, 0.00001px, 0.00001px); #186

Open
@glucka

Description

@glucka

lax.js version
dev

Describe the bug
z-index not working on ios, any lax driven elements are always on top

Possible solution:

const translate3dValues = {
    translateX: 0,
    translateY: 0,
    translateZ: 0
}

or

const translate3dValues = {
    translateX: 0.00001,
    translateY: 0.00001,
    translateZ: 0
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions