1.0.3 • Published 1 year ago

@borvik/react-preservescroll v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

@borvik/react-preservescroll

Provides a react component that is a drop-in replacement for a scrollable <div>. All your css still applies to make it scrollable. This just attaches handlers to record and restore the scroll position when you navigate the page either via history operations, or standard navigation.

The only difference from a <div> is that an id prop is required.

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

0.1.0

2 years ago