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 3.0.0-beta15 to 3.0.0-beta16

11

lib/src/StickyTree.d.ts

@@ -285,2 +285,8 @@ import React from 'react';

/**
* Returns the scrollLeft of the scrollable element
*
* @return returns -1 if the elem does not exist.
*/
getScrollLeft(): number;
/**
* Sets the scrollTop position of the scrollable element.

@@ -291,2 +297,7 @@ * @param scrollTop

/**
* Sets the scrollLeft position of the scrollable element.
* @param scrollLeft
*/
setScrollLeft(scrollLeft: number): void;
/**
* Scrolls the node into view so that it is visible.

@@ -293,0 +304,0 @@ *

@@ -323,2 +323,10 @@ "use strict";

/**
* Returns the scrollLeft of the scrollable element
*
* @return returns -1 if the elem does not exist.
*/
getScrollLeft() {
return this.elemRef.current ? this.elemRef.current.scrollLeft : -1;
}
/**
* Sets the scrollTop position of the scrollable element.

@@ -333,2 +341,11 @@ * @param scrollTop

/**
* Sets the scrollLeft position of the scrollable element.
* @param scrollLeft
*/
setScrollLeft(scrollLeft) {
if (!isNaN(scrollLeft) && this.elemRef.current) {
this.elemRef.current.scrollLeft = scrollLeft;
}
}
/**
* Scrolls the node into view so that it is visible.

@@ -335,0 +352,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": "3.0.0-beta15",
"version": "3.0.0-beta16",
"author": "Marc McIntyre <marchaos@gmail.com>",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc