New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-virtualized-sticky-tree

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized-sticky-tree - npm Package Compare versions

Comparing version

to
2.1.18

2

dist/commonjs/StickyTree.js

@@ -468,2 +468,3 @@ 'use strict';

if (!isNaN(scrollTop)) {
this.findClosestNode(scrollTop, this.state.currNodePos);
this.setState({ scrollTop: scrollTop, scrollReason: SCROLL_REASON.REQUESTED });

@@ -770,2 +771,3 @@ }

}
return renderedRow;

@@ -772,0 +774,0 @@ }

@@ -468,2 +468,3 @@ 'use strict';

if (!isNaN(scrollTop)) {
this.findClosestNode(scrollTop, this.state.currNodePos);
this.setState({ scrollTop: scrollTop, scrollReason: SCROLL_REASON.REQUESTED });

@@ -770,2 +771,3 @@ }

}
return renderedRow;

@@ -772,0 +774,0 @@ }

2

package.json
{
"name": "react-virtualized-sticky-tree",
"description": "A React component for efficiently rendering tree like structures with support for position: sticky",
"version": "2.1.17",
"version": "2.1.18",
"author": "Marc McIntyre <marchaos@gmail.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -36,13 +36,15 @@ # react-virtualized-sticky-tree

render(
<StickyTree
root={{ id: 'root', height: 30 }}
width={width}
height={height}
getChildren={getChildren}
rowRenderer={rowRenderer}
renderRoot={true}
overscanRowCount={20}
/>
);
render() {
return (
<StickyTree
root={{ id: 'root', height: 30 }}
width={width}
height={height}
getChildren={getChildren}
rowRenderer={rowRenderer}
renderRoot={true}
overscanRowCount={20}
/>
);
)
```

@@ -49,0 +51,0 @@