react-resizable-box
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -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 |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22748
504