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

fast-table

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-table - npm Package Compare versions

Comparing version 1.4.8-beta.19 to 1.4.8-beta.20

14

lib/index.js

@@ -227,2 +227,4 @@ "use strict";

_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "updateScrollTopEnable", function (nextProps) {});
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleBodyScrollTop", function (e) {

@@ -541,6 +543,14 @@ var target = e.target;

_dataHeight: this.dataManager._bodyHeight,
_dataEmpty: this.dataManager.isEmpty(),
_scrollTop: dh === 0 ? 0 : this.sizeManager._scrollTop
_dataEmpty: this.dataManager.isEmpty()
});
if (dh !== 0 && this.sizeManager._dataHeight === 0) {
this.sizeManager.update({
_scrollTop: 0
});
this.updateScrollTop({
scrollTop: 0
});
}
if (nextProps.pullDown && dh < this.sizeManager._dataHeight && this.sizeManager._hasScrollY && this.sizeManager._scrollTop < 5) {

@@ -547,0 +557,0 @@ var top = this.sizeManager._dataHeight - dh;

2

package.json
{
"name": "fast-table",
"version": "1.4.8-beta.19",
"version": "1.4.8-beta.20",
"description": "react table fast",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -95,5 +95,8 @@ import React from 'react';

_dataHeight: this.dataManager._bodyHeight,
_dataEmpty: this.dataManager.isEmpty(),
_scrollTop: dh === 0 ? 0 : this.sizeManager._scrollTop
_dataEmpty: this.dataManager.isEmpty()
});
if (dh !== 0 && this.sizeManager._dataHeight === 0) {
this.sizeManager.update({_scrollTop: 0});
this.updateScrollTop({scrollTop: 0});
}
if (

@@ -288,2 +291,4 @@ nextProps.pullDown &&

updateScrollTopEnable = (nextProps) => {};
handleBodyScrollTop = (e) => {

@@ -290,0 +295,0 @@ const target = e.target;

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