Skip to content

ease option seems to not work #390

Open
@burzykovski

Description

@burzykovski

Hi,
Maybe I'm wrong, but it seems to me that changing function in ease option doesn't work properly. I've got horizontal navigation menu and even though I've changed default ease behavior with t => t to use just linear animation it still behaves non-linearly.

Piece of code responsible for scrolling:

scrollIntoView(element, {
          behavior: 'smooth',
          scrollMode: 'always',
          block: 'nearest',
          inline: 'center',
          ease: t => t,
        });

Anyway, I really appreciate your work @stipsan :)

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