Skip to content

Latest commit

 

History

History
 
 

README.md

title Scroll Restoration
toc false
order 1

Scroll Restoration

This example demonstrates the basic usage of the <ScrollRestoration> component, including:

  • Restoring scroll position via location.key
  • Restoring scroll position via location.pathname
  • Preventing scroll resetting via <Link>

Preview

Open this example on StackBlitz:

Open in StackBlitz