这是indexloc提供的服务,不要输入任何密码
Skip to content

Use behavior: "auto" when scrolling to last position on restoration visits #1448

@pardeyke

Description

@pardeyke

When navigating back (restoration visit) and your css enables html { scroll-behavior: smooth; }, like Bootstrap does, the scroll to the position on the back page is animated and not instant. That results in a scroll animation in any restoration visit.

I was trying to fix the source for this behavior, but was not able to do it. Maybe there is someone who can help.

Screen.Recording.2025-10-09.at.19.01.30.mp4

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