Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Reset scroll position on route change? #727

Closed
@danro

Description

@danro

Question- Is there something built in for remembering (and resetting) the scroll position after a route change?

Example- If you had a list view and each item would open a new route for a detail view. This detail view would contain a back button and after clicking it, you would return to the list view with the proper scroll position set. Also, is there a way to know if the route change was caused by the browser's back button?

I could perform the scroll w/ jQuery, but wasn't sure if it was built in. Thanks!

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