Skip to content

Commit b9e9111

Browse files
committed
Update readme
1 parent c9a34e0 commit b9e9111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This is a solution to [React Router's issue of not scrolling to `#hash-fragments`](https://github.com/reactjs/react-router/issues/394#issuecomment-220221604) when using the `<Link>` component to navigate.
88

9-
When you click on a link created with `react-router-hash-link` it will scroll to the element on the page with with the `id` that matches the `#hash-fragment` in the link. Note that you must use React Router's `BrowserRouter` for this to work.
9+
When you click on a link created with `react-router-hash-link` it will scroll to the element on the page with with the `id` that matches the `#hash-fragment` in the link. This will also work for elements that are created after an asynchronous data load. Note that you must use React Router's `BrowserRouter` for this to work.
1010

1111
```shell
1212
$ npm install --save react-router-hash-link

0 commit comments

Comments
 (0)