Socket
Socket
Sign inDemoInstall

@beisen/beisen-scroll-bar

Package Overview
Dependencies
11
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-58 to 0.0.1-59

4

lib/scrollArea.js

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

realSize: this.state.realHeight,
containerSize: this.props.style.height && props.style.height.split('%').length <= 1 ? parseInt(this.props.style.height.split('px')[0]) : this.state.containerHeight,
containerSize: this.props.style.height && this.props.style.height.split('%').length <= 1 ? parseInt(this.props.style.height.split('px')[0]) : this.state.containerHeight,
position: this.state.topPosition,

@@ -171,3 +171,3 @@ onMove: this.handleScrollbarMove.bind(this),

realSize: this.state.realWidth,
containerSize: this.props.style.width && props.style.width.split('%').length <= 1 ? parseInt(this.props.style.width.split('px')[0]) : this.state.containerWidth,
containerSize: this.props.style.width && this.props.style.width.split('%').length <= 1 ? parseInt(this.props.style.width.split('px')[0]) : this.state.containerWidth,
position: this.state.leftPosition,

@@ -174,0 +174,0 @@ onMove: this.handleScrollbarMove.bind(this),

{
"name": "@beisen/beisen-scroll-bar",
"version": "0.0.1-58",
"version": "0.0.1-59",
"description": "beisen-scroll-bar",

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

@@ -106,3 +106,3 @@ import React from 'react';

realSize={this.state.realHeight}
containerSize={this.props.style.height&&props.style.height.split('%').length <= 1 ? parseInt(this.props.style.height.split('px')[0]) : this.state.containerHeight}
containerSize={this.props.style.height&&this.props.style.height.split('%').length <= 1 ? parseInt(this.props.style.height.split('px')[0]) : this.state.containerHeight}
position={this.state.topPosition}

@@ -123,3 +123,3 @@ onMove={this.handleScrollbarMove.bind(this)}

realSize={this.state.realWidth}
containerSize={this.props.style.width&&props.style.width.split('%').length <= 1 ? parseInt(this.props.style.width.split('px')[0]) : this.state.containerWidth}
containerSize={this.props.style.width&&this.props.style.width.split('%').length <= 1 ? parseInt(this.props.style.width.split('px')[0]) : this.state.containerWidth}
position={this.state.leftPosition}

@@ -126,0 +126,0 @@ onMove={this.handleScrollbarMove.bind(this)}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc