react-grid-layout
Advanced tools
Comparing version 0.14.6 to 0.14.7
@@ -304,4 +304,4 @@ 'use strict'; | ||
var clientRect = node.getBoundingClientRect(); | ||
newPosition.left = clientRect.left - parentRect.left; | ||
newPosition.top = clientRect.top - parentRect.top; | ||
newPosition.left = clientRect.left - parentRect.left + node.offsetParent.scrollLeft; | ||
newPosition.top = clientRect.top - parentRect.top + node.offsetParent.scrollTop; | ||
_this2.setState({ dragging: newPosition }); | ||
@@ -308,0 +308,0 @@ break; |
# Changelog | ||
0.14.7 (Jul 14, 2017) | ||
---- | ||
- Fixed a dragging bug when the grid container is scrollable. Thanks @chultquist. | ||
- Ref: https://github.com/STRML/react-grid-layout/pull/555 | ||
0.14.6 (Apr 19, 2017) | ||
@@ -4,0 +10,0 @@ ---- |
{ | ||
"name": "react-grid-layout", | ||
"version": "0.14.6", | ||
"version": "0.14.7", | ||
"description": "A draggable and resizable grid layout with responsive breakpoints, for React.", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
"prop-types": "^15.5.8", | ||
"react-draggable": "^2.1.1", | ||
"react-draggable": "^2.2.6", | ||
"react-resizable": "^1.4.0" | ||
@@ -48,7 +48,7 @@ }, | ||
"devDependencies": { | ||
"babel-cli": "^6.5.1", | ||
"babel-core": "^6.x", | ||
"babel-eslint": "^7.1.1", | ||
"babel-jest": "^18.0.0", | ||
"babel-loader": "^6.x", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.24.1", | ||
"babel-eslint": "^7.2.2", | ||
"babel-jest": "^19.0.0", | ||
"babel-loader": "^6.4.1", | ||
"babel-plugin-react-transform": "^2.0.0", | ||
@@ -58,13 +58,13 @@ "babel-plugin-transform-react-constant-elements": "^6.5.0", | ||
"babel-plugin-typecheck": "^3.6.1", | ||
"babel-preset-es2015": "^6.5.0", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-preset-stage-1": "^6.5.0", | ||
"css-loader": "^0.26.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-1": "^6.24.1", | ||
"css-loader": "^0.28.0", | ||
"ejs": "^2.4.1", | ||
"eslint": "^3.11.1", | ||
"eslint-plugin-react": "^6.8.0", | ||
"exports-loader": "^0.6.3", | ||
"flow-bin": "^0.41.0", | ||
"imports-loader": "^0.7.0", | ||
"jest-cli": "^18.0.0", | ||
"eslint": "^3.19.0", | ||
"eslint-plugin-react": "^6.10.3", | ||
"exports-loader": "^0.6.4", | ||
"flow-bin": "^0.44.2", | ||
"imports-loader": "^0.7.1", | ||
"jest-cli": "^19.0.2", | ||
"jsxhint": "^0.15.1", | ||
@@ -74,10 +74,10 @@ "lodash": "^4.3.0", | ||
"precommit-hook": "^3.0.0", | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0", | ||
"react": "^15.5.4", | ||
"react-dom": "^15.5.4", | ||
"react-hot-loader": "^1.3.0", | ||
"react-transform-hmr": "^1.0.2", | ||
"style-loader": "^0.13.0", | ||
"style-loader": "^0.16.1", | ||
"valiquire": "^0.3.0", | ||
"webpack": "^2.2.1", | ||
"webpack-dev-server": "^2.3.0" | ||
"webpack": "^2.4.1", | ||
"webpack-dev-server": "^2.4.2" | ||
}, | ||
@@ -84,0 +84,0 @@ "publishConfig": { |
@@ -335,3 +335,3 @@ # React-Grid-Layout | ||
// AllLayouts are keyed by breakpoint. | ||
onLayoutChange: (currentLayout: Layout, allLayouts: {[key: $Keys<breakpoints]: Layout}) => void, | ||
onLayoutChange: (currentLayout: Layout, allLayouts: {[key: $Keys<breakpoints>]: Layout}) => void, | ||
@@ -338,0 +338,0 @@ // Callback when the width changes, so you can modify the layout as needed. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
158272
Updatedreact-draggable@^2.2.6