Skip to content

Commit 6f17e84

Browse files
committed
Merge branch 'main' of github.com:rafgraph/react-router-hash-link
2 parents cadfeb2 + c55c2b1 commit 6f17e84

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)