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.1.2 to 1.1.3

2

lib/BaseTable.js

@@ -145,3 +145,3 @@ 'use strict';

BodyWrapper,
{ className: 'tbody', style: { height: bodyHeight } },
{ className: 'tbody', style: { height: bodyHeight, minHeight: table.props.rowHeight } },
this.renderRows()

@@ -148,0 +148,0 @@ );

@@ -19,2 +19,4 @@ 'use strict';

var _reactDom = require('react-dom');
var _classnames = require('classnames');

@@ -100,7 +102,6 @@

_this.updateColumn = function () {
var headRows = _this['headTable'] ? _this['headTable'].querySelectorAll('.thead') : _this['bodyTable'].querySelectorAll('.thead');
var scrollSize = (0, _Utils.measureScrollbar)();
var state = _this.store.getState();
if (headRows && headRows.length > 0) {
var width = headRows[0].getBoundingClientRect().width - (state.hasScroll ? scrollSize : 0);
if (_this['tableNode']) {
var width = (0, _reactDom.findDOMNode)(_this['tableNode']).getBoundingClientRect().width - (state.hasScroll ? scrollSize : 0) - 2;
_this.store.setState({

@@ -318,4 +319,3 @@ colWidth: _this.columnManager.getColWidth(width)

flex: '0 1 ' + rowHeight + 'px',
textAlign: 'center',
color: 'inherit'
textAlign: 'center'
};

@@ -322,0 +322,0 @@ if (scrollbarWidth > 0) {

{
"name": "fast-table",
"version": "1.1.2",
"version": "1.1.3",
"description": "react table fast",

@@ -5,0 +5,0 @@ "main": "./lib/index.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