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 f9ba512 commit 064ea68Copy full SHA for 064ea68
src/GEOComp.tsx
@@ -237,7 +237,7 @@ var GEOComp = (function () {
237
props.feature.onChange(eventObj)
238
break;
239
case 'window:resize':
240
- if (true || (featureEnabled('scaleToBottom') && props.autoHeight)) {
+ if (featureEnabled('scaleToBottom') && props.autoHeight) {
241
const pads = props.styles.padding.split(' ');
242
const bottom = (parseFloat(pads[pads.length == 4 ? 3 : 0].replace("px", "")) * 2) - 2
243
var newHeight = dimensions.height + (eventObj.windowSize.height - eventObj.bounds.bottom - bottom)
0 commit comments