mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Dynheight: Don't consider size of fixed or absolute positioned widgets when collecting bottom nodes
This commit is contained in:
parent
d8e993dc75
commit
f130134dd1
@ -162,7 +162,7 @@ export class et2_dynheight
|
||||
jQuery(_node).children().each(function() {
|
||||
const $this = jQuery(this);
|
||||
const top = $this.offset().top;
|
||||
if (this != self.innerNode[0] && top >= _bottom)
|
||||
if(this != self.innerNode[0] && top >= _bottom && ["fixed", "absolute"].indexOf(getComputedStyle(this).position) == -1)
|
||||
{
|
||||
self.bottomNodes.push($this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user