You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: