Skip to content

Parallax calculation should use the center of the viewport  #29

@thelucre

Description

@thelucre

Problem:
Translations are dramatically different for elements depending on where they are in the entire page layout. Using absY or not doesn't help.

Expected:
Parallax translations should be relative to the element's position to the window viewport, not the entire page height. An element at dead center of the window viewport should effectively have 0 translation applied, so layouts can be controlled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions