Socket
Socket
Sign inDemoInstall

ngx-virtual-scroller

Package Overview
Dependencies
2
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.14 to 1.0.15

docs/vendor.b609dfa778d14e6f33db.bundle.js

6

CHANGELOG.md

@@ -0,4 +1,8 @@

# v1.0.15
* Minor bug fix to stripedTable & table headers.
# v1.0.14
* New properties stripedTable and modifyOverflowStyleOfParentScroll. Mnior bug fix to fixed table headers.
* New properties stripedTable and modifyOverflowStyleOfParentScroll. Minor bug fix to fixed table headers.

@@ -5,0 +9,0 @@ # v1.0.13

11

dist/virtual-scroller.js

@@ -803,3 +803,3 @@ "use strict";

if (this.headerElementRef) {
scrollLength += parseInt(window.getComputedStyle(this.headerElementRef.nativeElement).height, 10);
scrollLength += this.headerElementRef.nativeElement.clientHeight;
}

@@ -871,2 +871,8 @@ var viewportLength = this.horizontal ? viewportWidth : viewportHeight;

arrayStartIndex -= arrayStartIndex % dimensions.itemsPerWrapGroup; // round down to start of wrapGroup
if (this.stripedTable) {
var bufferBoundary = 2 * dimensions.itemsPerWrapGroup;
if (arrayStartIndex % bufferBoundary !== 0) {
arrayStartIndex = Math.max(arrayStartIndex - arrayStartIndex % bufferBoundary, 0);
}
}
var arrayEndIndex = Math.ceil(startingArrayIndex_fractional) + dimensions.itemsPerPage - 1;

@@ -888,5 +894,2 @@ var endIndexWithinWrapGroup = (arrayEndIndex + 1) % dimensions.itemsPerWrapGroup;

var endIndexWithBuffer = Math.min(Math.max(arrayEndIndex + bufferSize, 0), dimensions.itemCount - 1);
if (this.stripedTable && startIndexWithBuffer % 2 == 1 && startIndexWithBuffer != 0) {
startIndexWithBuffer--;
}
return {

@@ -893,0 +896,0 @@ startIndex: arrayStartIndex,

{
"name": "ngx-virtual-scroller",
"version": "1.0.14",
"version": "1.0.15",
"description": "Angular 4+ module for virtual -infinite- list. Supports horizontal/vertical, variable heights, & multi-column",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc