File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -283,9 +283,9 @@ var GEOComp = (function () {
283
283
//Remove the bottom of the wrapper
284
284
const offset = ( parseFloat ( pads [ pads . length == 4 ? 3 : 0 ] . replace ( "px" , "" ) ) ) + ( parseFloat ( marg [ marg . length == 4 ? 3 : 0 ] . replace ( "px" , "" ) ) )
285
285
//TODO: Take care of margin and padding, but also that of parents
286
- var newHeight = eventObj . windowSize . height - eventObj . bounds . top - offset - ( props . resizeOffset || 0 )
286
+ var newHeight = eventObj . windowSize . height - eventObj . bounds . top - offset * 2 - ( props . resizeOffset || 0 )
287
287
if ( newHeight != dimensions . height ) {
288
- eventObj . element . style . height = `${ newHeight } px`
288
+ // eventObj.element.style.height = `${newHeight}px`
289
289
setDimensions ( { width : dimensions . width , height : newHeight } )
290
290
if ( featureEnabled ( "debug" ) )
291
291
console . debug ( "Resized done" , newHeight )
You can’t perform that action at this time.
0 commit comments