Fredrik Björk wrote:
Hi,
we're having some trouble with gadgets.window.adjustHeight() not
working as expected in some browsers.
Chrome: auto-adjust height doesn't work at all, setting a specific
height works
Safari: auto-adjust height doesn't work at all, setting a specific
height works
Is there something I should be looking at to solve this issue? Could
it be CSS related?
I've posted a JIRA issue some time ago regarding this. Lately I've
examined what safari
does when gadgets.window.adjustHeight() is called and it seams that
iframe's body gets
a requested height set explicitly. Afterwards calls to calculate height
keep using this
value regardless of actual content size. I've not found a workaround yet.
Probably a javascript code for calculation of height in
features/dynamic-height should be
fixed.
BR,
Vjeko