Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dynamic-virtual-scroller

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-virtual-scroller - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

2

package.json
{
"name": "dynamic-virtual-scroller",
"version": "2.2.2",
"version": "2.2.3",
"description": "A virtual scroller for the web that can handle dynamic row and column sizes.",

@@ -5,0 +5,0 @@ "main": "virtual-scroller.js",

@@ -42,5 +42,7 @@ import {ATTRIBUTES, EVENTS, CLASSES} from "./constants";

globalState.activeScrollerId = config.scrollerId;
config.canvas.css('pointer-events', 'none'); // no hover effects => better performance
config.container.trigger(EVENTS.scrollStart, config.scrollerId);
} else if (wasScrollingBefore && isScrolling === false) {
globalState.activeScrollerId = undefined;
config.canvas.css('pointer-events', '');
config.container.trigger(EVENTS.scrollEnd, config.scrollerId);

@@ -70,4 +72,6 @@ debouncedResetIsScrolling.cancel();

state.scrollTop = scrollTop;
triggerChange();
if (scrollTop !== state.scrollTop) {
state.scrollTop = scrollTop;
triggerChange();
}
},

@@ -82,4 +86,6 @@ setScrollLeft: (scrollLeft) => {

state.scrollLeft = scrollLeft;
triggerChange();
if (scrollLeft !== state.scrollLeft) {
state.scrollLeft = scrollLeft;
triggerChange();
}
},

@@ -86,0 +92,0 @@ animatedScrolling: (function () {

Sorry, the diff of this file is too big to display

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