react-visibility-sensor
Advanced tools
Comparing version 3.13.1 to 3.14.0
Changelog | ||
==== | ||
## 3.14.0 | ||
- re-register node in componentDidUpdate if children diffs ([#103](https://github.com/joshwnj/react-visibility-sensor/pull/103)) | ||
## 3.13.0 | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "react-visibility-sensor", | ||
"version": "3.13.1", | ||
"version": "3.14.0", | ||
"description": "Sensor component for React that notifies you when it goes in or out of the window viewport.", | ||
@@ -5,0 +5,0 @@ "main": "visibility-sensor.js", |
@@ -140,2 +140,6 @@ 'use strict'; | ||
componentDidUpdate: function (prevProps) { | ||
this.node = ReactDOM.findDOMNode(this); | ||
}, | ||
getContainer: function () { | ||
@@ -142,0 +146,0 @@ return this.props.containment || window; |
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
1196143
28759