Skip to content

No cap on the y value of the translate3d when window.scrollY is 0 #2

@arorayash

Description

@arorayash

When scrolled to the top of the page, the data-scroll element keeps updating the transform style with exponential y values incessantly, even when no scroll event is being fired. Looks like setting a min of y value should fix it.

Here is the screen recording of it -
https://cl.ly/e4a1b6e960e9

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