Skip to content

Commit 2181898

Browse files
authored
Update README.md
1 parent 4cb9c0f commit 2181898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Autoscroll a react component
1111

1212
## What it does
1313

14-
This package exports a function that takes a `React.Component` and returns a `React.PureComponent` that renders the passed component without any additional markup. Whenever the wrapped component updates, it is scrolled to the bottom, unless the user has scrolled up.In addition, when the list is resized (when content is added), it will be scrolled in order to keep the user's original scroll position.
14+
This package exports a function that takes a `React.Component` and returns a `React.PureComponent` that renders the passed component without any additional markup. Whenever the wrapped component updates, it is scrolled to the bottom, unless the user has scrolled up. In addition (since 3.1.0), when the list is resized (when content is added), it will be scrolled in order to keep the user's original scroll position.
1515

1616
## Usage
1717

0 commit comments

Comments
 (0)