Skip to content

Problem in the code #16

@anorudes

Description

@anorudes

Hello, this line kills the animation:
anorudes@0c2c5f1 (fixed version)

I use the following way:

      animatedScrollTo(
        document.body,
        commentDOM.getBoundingClientRect().top - 25,
        300,
      );

If I don't delete that line, the animation doesn't work

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