dynamic-virtual-scroller
Advanced tools
Comparing version 3.0.34 to 3.0.35
{ | ||
"name": "dynamic-virtual-scroller", | ||
"version": "3.0.34", | ||
"version": "3.0.35", | ||
"description": "A virtual scroller for the web that can handle dynamic row and column sizes.", | ||
@@ -5,0 +5,0 @@ "main": "virtual-scroller.js", |
@@ -19,3 +19,4 @@ var CLASSES = { | ||
scrollbarXIsBeingDragged: 'virtual-scroller-scrollbar-x-is-being-dragged', | ||
scrollbarYIsBeingDragged: 'virtual-scroller-scrollbar-y-is-being-dragged' | ||
scrollbarYIsBeingDragged: 'virtual-scroller-scrollbar-y-is-being-dragged', | ||
hiddenDuringDragAndDrop: 'virtual-scroller--dragula-adapter__hidden-during-drag-and-drop', | ||
}; | ||
@@ -22,0 +23,0 @@ |
@@ -92,3 +92,3 @@ import validateParameters from './validateParameters'; | ||
el.show(); // see #hideRowWhenPreventingRemoval | ||
el.removeClass(CLASSES.hiddenDuringDragAndDrop); // see #hideRowWhenPreventingRemoval | ||
@@ -201,3 +201,3 @@ if ($.contains(attachedContainer.get(0), container.get(0)) === false) { | ||
if (dragState.currentIndex === params.rowIndex) { | ||
return dragState.row.show(); // see #hideRowWhenPreventingRemoval | ||
return dragState.row.removeClass(CLASSES.hiddenDuringDragAndDrop); // see #hideRowWhenPreventingRemoval | ||
} | ||
@@ -219,3 +219,3 @@ return _renderRow(params); | ||
if ($.contains(dragState.container.get(0), dragState.row.get(0))) { | ||
dragState.row.hide(); | ||
dragState.row.addClass(CLASSES.hiddenDuringDragAndDrop); | ||
} | ||
@@ -310,3 +310,3 @@ return false; | ||
el.show(); // see #hideColumnWhenPreventingRemoval | ||
el.removeClass(CLASSES.hiddenDuringDragAndDrop); // see #hideColumnWhenPreventingRemoval | ||
@@ -419,3 +419,3 @@ if ($.contains(attachedContainer.get(0), container.get(0)) === false) { | ||
if (dragState.currentIndex === params.columnIndex) { | ||
return dragState.column.show(); // see #hideColumnWhenPreventingRemoval | ||
return dragState.column.removeClass(CLASSES.hiddenDuringDragAndDrop); // see #hideColumnWhenPreventingRemoval | ||
} | ||
@@ -434,3 +434,3 @@ return _renderColumn(params); | ||
if ($.contains(dragState.container.get(0), dragState.column.get(0))) { | ||
dragState.column.hide(); | ||
dragState.column.addClass(CLASSES.hiddenDuringDragAndDrop); | ||
} | ||
@@ -437,0 +437,0 @@ return false; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances 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
590625
30
8171
4