CSS / Layout cleanup

- Fix select with tags=true causes hidden WebComponents to display

Chosen wants to do sizing calculations which wasn't working properly on w.c.
This commit is contained in:
nathan
2022-04-25 10:39:46 -06:00
parent ca794817eb
commit 7d86272b28
2 changed files with 18 additions and 1 deletions

View File

@ -275,6 +275,17 @@ egw.extend('utils', egw.MODULE_GLOBAL, function()
old[name] = this.style[name];
}
}
else if (this.computedStyleMap)
{
for (var name in props)
{
let s = this.computedStyleMap().get(name)
if (s)
{
old[name] = s.value || "";
}
}
}
jQuery(this).show();
oldProps.push(old);
});