diff --git a/package.json b/package.json index 08d6429..15c7aa8 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "react": "15.0.1", "react-addons-test-utils": "15.0.1", "react-dom": "15.0.1", + "react-sizeme": "1.0.6", "semantic-release": "^6.2.1", "stats-webpack-plugin": "0.3.1", "webpack": "1.13.0", diff --git a/src/ComponentQueries.js b/src/ComponentQueries.js index 6166276..c51ac25 100644 --- a/src/ComponentQueries.js +++ b/src/ComponentQueries.js @@ -81,7 +81,7 @@ function ComponentQueries(...queries) { return SizeMe({ monitorWidth: true, - monitorHeight: true + monitorHeight: false })(ComponentWithComponentQueries); }; }