react-scroll
Advanced tools
Comparing version 1.8.5 to 1.8.6
#### Changelog | ||
>1.8.6 | ||
- Fixed hashSpy to work within Nextjs [Issue](https://github.com/fisshy/react-scroll/issues/476) | ||
>1.8.3 | ||
@@ -3,0 +5,0 @@ - Fix for scroll offset [PR](https://github.com/fisshy/react-scroll/pull/469) |
@@ -11,3 +11,3 @@ "use strict"; | ||
var urlToPush = hashToUpdate ? curLoc.pathname + curLoc.search + hashToUpdate : curLoc.pathname + curLoc.search; | ||
historyUpdate ? history.pushState(null, "", urlToPush) : history.replaceState(null, "", urlToPush); | ||
historyUpdate ? history.pushState(history.state, "", urlToPush) : history.replaceState(history.state, "", urlToPush); | ||
}; | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "react-scroll", | ||
"version": "1.8.5", | ||
"version": "1.8.6", | ||
"description": "A scroll component for React.js", | ||
@@ -5,0 +5,0 @@ "main": "modules", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128909