Skip to content

Commit c55c2b1

Browse files
authored
Merge pull request #81 from EliRobinson/patch-1
Update readme
2 parents 21c81d8 + f834e6d commit c55c2b1

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
@@ -89,7 +89,7 @@ import { HashLink } from 'react-router-hash-link';
8989

9090
<HashLink
9191
to="/path#hash"
92-
scroll={(el) => el.scrollIntoView({ behavior: 'instant', block: 'end' })}
92+
scroll={(el) => el.scrollIntoView({ behavior: 'auto', block: 'end' })}
9393
>
9494
Link to Hash Fragment
9595
</HashLink>;

0 commit comments

Comments
 (0)