We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b803ec1 commit 805732eCopy full SHA for 805732e
src/GEOComp.tsx
@@ -244,11 +244,11 @@ var GEOComp = (function () {
244
props.feature.onChange(eventObj)
245
break;
246
case 'window:resize':
247
- console.log("P", props.autoHeight)
248
if (props.features && props.features.scaleToBottom == true && props.autoHeight) {
249
var newHeight = dimensions.height + (eventObj.window.height - eventObj.size.bottom - (props.styles.padding * 2) - 2)
250
- setDimensions({ width: dimensions.width, height: newHeight })
251
eventObj.element.style.height = `${newHeight}px`
+ setDimensions({ width: dimensions.width, height: newHeight })
+ console.log("Resize", props.autoHeight, newHeight)
252
}
253
break
254
default:
0 commit comments