react-virtualized-sticky-tree
Advanced tools
Comparing version 2.1.12 to 2.1.13
@@ -122,3 +122,5 @@ 'use strict'; | ||
if (props.isModelImmutable) { | ||
if (this.getChildrenCache[node.id] !== children) { | ||
// If children is undefined, then it is probably a leaf node, so we will have to render this since we don't know if the node | ||
// itself has changed. | ||
if (children === undefined || this.getChildrenCache[node.id] !== children) { | ||
delete this.rowRenderCache[node.id]; | ||
@@ -125,0 +127,0 @@ this.getChildrenCache[node.id] = children; |
@@ -122,3 +122,5 @@ 'use strict'; | ||
if (props.isModelImmutable) { | ||
if (this.getChildrenCache[node.id] !== children) { | ||
// If children is undefined, then it is probably a leaf node, so we will have to render this since we don't know if the node | ||
// itself has changed. | ||
if (children === undefined || this.getChildrenCache[node.id] !== children) { | ||
delete this.rowRenderCache[node.id]; | ||
@@ -125,0 +127,0 @@ this.getChildrenCache[node.id] = children; |
{ | ||
"name": "react-virtualized-sticky-tree", | ||
"description": "A React component for efficiently rendering tree like structures with support for position: sticky", | ||
"version": "2.1.12", | ||
"version": "2.1.13", | ||
"author": "Marc McIntyre <marchaos@gmail.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
96333
1916