Skip to content

Parallax: playScale lookup on scroll #48

@julesmoretti

Description

@julesmoretti

Could you please provide a way to show the current playScale position on a scroll in order to set values correctly for Parallax?

Right now those, no not match with the vertical height percentage and I am struggling to determine why that is.

Ideally, something that would work with onUpdate().

instead of onUpdate: (e) => console.log(">>> animation percentage " + e),
onUpdate: (e) => console.log(">>> animation percentage " + e.percentage)
onUpdate: (e) => console.log(">>> animation playScale " + e.playScale)
onUpdate: (e) => console.log(">>> animation offsetTop " + e. offsetTop)

Or something thereof.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions