Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Scroll restore before data loads in #11

@dominik-myszkowski

Description

@dominik-myszkowski

The scroll restore happens immediately after page has been shifted to previous one, not allowing the data to load on page (and not allowing to scroll yet). It would be nice to expose some kind of method which will be used once the data has been loaded and that would trigger the scroll to correct position.
For example my shop has a list of products provided by GraphQL query. When user clicks on a product a new page loads with product details. When user swiches back to the list the products load again from graphQL and only then (graphql query onComplete) can I scroll back to correct position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions