Socket
Socket
Sign inDemoInstall

react-resizable-box

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-box - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

5

lib/index.js

@@ -210,2 +210,3 @@ 'use strict';

value: function onResizeStart(direction, e) {
var ev = e.touches ? e.touches[0] : e;
var clientSize = {

@@ -219,4 +220,4 @@ width: this.refs.resizable.clientWidth,

original: {
x: e.clientX,
y: e.clientY,
x: ev.clientX,
y: ev.clientY,
width: size.width,

@@ -223,0 +224,0 @@ height: size.height

2

lib/resizer.js

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

value: function onTouchStart(event) {
this.props.onResizeStart(event.touches[0]);
this.props.onResizeStart(event);
}

@@ -116,0 +116,0 @@ }, {

{
"name": "react-resizable-box",
"version": "1.8.0",
"version": "1.8.1",
"description": "",

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

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