Releases: rafgraph/react-router-hash-link
Releases · rafgraph/react-router-hash-link
v2.4.3
Remove accidental console.log
v2.4.2
Ignore non-vanilla click events, see #80
v2.4.0
- Use Rollpkg for builds, results in ~10% smaller builds
v2.3.0
- Makes focus behavior match the browser's native focus behavior #73 @mjlumetta
v2.2.0
- Fix
<NavHashLink>
active path matching
- Update focus to where page is scrolled to
- Add scroll to top functionality with
#
or #top
- Add
elementId
prop to use instead of the hash fragment (hash fragment is still the preferred method)
v2.1.0
- Add
timeout
prop to customize the wait time for the scroll to element to be rendered (e.g. if api calls take a long time). By default react-router-hash-link
will wait 10 seconds.
v2.0.0
Breaking changes:
- Forward refs using
React.forwardRef
- Simplified Custom Link api
v1.2.2
Update peer dependency versions to allow use with React Router v5
v1.2.1
Fix scroll bug on IE 11 #30