Skip to content

Commit 9f8a543

Browse files
committed
fix: resize
1 parent 32aafdf commit 9f8a543

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GEOComp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ var GEOComp = (function () {
285285
//TODO: Take care of margin and padding, but also that of parents
286286
var newHeight = eventObj.windowSize.height - eventObj.bounds.top - offset * 2 - (props.resizeOffset || 0)
287287
if (newHeight != dimensions.height) {
288+
eventObj["newHeight"] = newHeight
288289
//eventObj.element.style.height = `${newHeight}px`
289290
setDimensions({ width: dimensions.width, height: newHeight })
290291
if (featureEnabled("debug"))

0 commit comments

Comments
 (0)