Skip to content

scroll_restoration component #31

@Archmonger

Description

@Archmonger

Current Situation

React-Router has the ability to save the div's current scroll position and restore it upon URL changes.

Proposed Actions

The scroll_restoration component itself will need to develop this a server side component (to allow for server-side children). Under the hood, this will need to render a hidden JavaScript component that actually does the scroll restoration logic.

This JavaScript component might be able to directly use react-router's ScrollRestoration component, but creating our own from scratch is honestly pretty easy.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions