Socket
Socket
Sign inDemoInstall

ngx-virtual-scroller

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-virtual-scroller - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

docs/vendor.8284ff91a073212e2a60.bundle.js

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v1.0.16
* Bug fix to sticky header with parentScroll
# v1.0.15

@@ -2,0 +6,0 @@

4

dist/virtual-scroller.js

@@ -487,3 +487,5 @@ "use strict";

if (_this.headerElementRef) {
var offset = _this.element.nativeElement[_this._scrollType] - viewport.padding;
var scrollPosition = _this.getScrollElement()[_this._scrollType];
var containerOffset = _this.getElementsOffset();
var offset = Math.max(scrollPosition - viewport.padding - containerOffset + _this.headerElementRef.nativeElement.clientHeight, 0);
_this.renderer.setStyle(_this.headerElementRef.nativeElement, 'transform', _this._translateDir + "(" + offset + "px)");

@@ -490,0 +492,0 @@ _this.renderer.setStyle(_this.headerElementRef.nativeElement, 'webkitTransform', _this._translateDir + "(" + offset + "px)");

{
"name": "ngx-virtual-scroller",
"version": "1.0.15",
"version": "1.0.16",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc