react-scroll
Advanced tools
Comparing version 1.7.8 to 1.7.9
@@ -240,3 +240,3 @@ 'use strict'; | ||
if (isInside && activeLink !== to) { | ||
if (isInside && (activeLink !== to || _this2.state.active === false)) { | ||
scroller.setActiveLink(to); | ||
@@ -243,0 +243,0 @@ |
{ | ||
"name": "react-scroll", | ||
"version": "1.7.8", | ||
"version": "1.7.9", | ||
"description": "A scroll component for React.js", | ||
@@ -5,0 +5,0 @@ "main": "modules", |
@@ -40,3 +40,3 @@ ## React Scroll | ||
import * as Scroll from 'react-scroll'; | ||
import { Link, DirectLink, Element , Events, animateScroll as scroll, scrollSpy, scroller } from 'react-scroll' | ||
import { Link, Element , Events, animateScroll as scroll, scrollSpy, scroller } from 'react-scroll' | ||
@@ -397,2 +397,5 @@ | ||
#### Changelog | ||
> 1.7.9 | ||
- Set active now properly sets it's state after unmount and mount. | ||
> 1.7.7 | ||
@@ -399,0 +402,0 @@ - Minor performance improvements |
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
100210
472