react-element-pan
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -104,3 +104,3 @@ (function(root, factory) { | ||
this.el.scrollLeft = Math.min( | ||
this.state.maxY - this.state.elWidth, | ||
this.state.maxX - this.state.elWidth, | ||
this.state.scrollX - (x - this.state.startX) | ||
@@ -107,0 +107,0 @@ ); |
{ | ||
"name": "react-element-pan", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React component for allowing panning of DOM-elements too large for their container, in a Google Maps-like way.", | ||
@@ -5,0 +5,0 @@ "main": "element-pan.js", |