@ombori/ga-gridapp-iframe
Advanced tools
Comparing version 2.197.4 to 2.197.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.197.5](https://github.com/ombori/gridapp/compare/v2.197.4...v2.197.5) (2022-04-18) | ||
### Bug Fixes | ||
* minor improvement on autoscale ([e006607](https://github.com/ombori/gridapp/commit/e006607416563caf6314520fa20a501cd0baa37b)) | ||
## [2.197.4](https://github.com/ombori/gridapp/compare/v2.197.3...v2.197.4) (2022-04-18) | ||
@@ -8,0 +19,0 @@ |
@@ -77,6 +77,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
}, 500); | ||
useEffect(function () { | ||
window.addEventListener('resize', handleResize, false); | ||
}, []); | ||
}, 300); | ||
var width = dimensions.width, height = dimensions.height; | ||
@@ -90,4 +87,4 @@ var isPortrait = width < height; | ||
left: 0, | ||
width: width, | ||
height: height, | ||
width: '100%', | ||
height: '100%', | ||
border: 0, | ||
@@ -103,2 +100,5 @@ zIndex: 1, | ||
iframeStyles.transform = "scale(" + scalingFactor + ")"; | ||
useEffect(function () { | ||
window.addEventListener('resize', handleResize, false); | ||
}, []); | ||
} | ||
@@ -105,0 +105,0 @@ return (React.createElement("div", null, |
{ | ||
"name": "@ombori/ga-gridapp-iframe", | ||
"version": "2.197.4", | ||
"version": "2.197.5", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "license": "UNLICENSED", | ||
}, | ||
"gitHead": "66afc7d24ff7c5a4ebce76f448f29453624ca603" | ||
"gitHead": "cfa41292759a315d67b4fa3bae8ec87724d1a6e1" | ||
} |
Sorry, the diff of this file is not supported yet
17377