New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rsuite-table

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsuite-table - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 3.4.1
> January 17, 2019
- Fix scrollbar position
# 3.4.0

@@ -2,0 +8,0 @@

2

lib/Scrollbar.js

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

var max = scrollLength && length ? length - length / scrollLength * length : 0;
var max = scrollLength && length ? length - Math.max(length / scrollLength * length, _constants.SCROLLBAR_MIN_WIDTH + 2) : 0;
var styles = {};

@@ -193,0 +193,0 @@

{
"name": "rsuite-table",
"version": "3.4.0",
"version": "3.4.1",
"description": "A React table component",

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

@@ -113,3 +113,6 @@ // @flow

const { vertical, length, scrollLength } = this.props;
const max = scrollLength && length ? length - (length / scrollLength) * length : 0;
const max =
scrollLength && length
? length - Math.max((length / scrollLength) * length, SCROLLBAR_MIN_WIDTH + 2)
: 0;
const styles = {};

@@ -116,0 +119,0 @@

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