mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +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() {
|
jQuery(_node).children().each(function() {
|
||||||
const $this = jQuery(this);
|
const $this = jQuery(this);
|
||||||
const top = $this.offset().top;
|
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);
|
self.bottomNodes.push($this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user