Skip to content

Change step function conditionals to not reference pageYOffset #12

@jljorgenson18

Description

@jljorgenson18

Referencing pageYOffset requires layout calculations (https://gist.github.com/paulirish/5d52fb081b3570c81e3a). A better approach would be to see how close the result of the easing function is close to '1.' We can add a percentage buffer to handle rounding errors which should stop the need to reference pageYOffset.

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