You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "John Hjelmstad (JIRA)" <ji...@apache.org> on 2009/06/26 00:44:07 UTC

[jira] Resolved: (SHINDIG-1101) gadgets.window.adjustHeight() fails to resize in Webkit-based browsers

     [ https://issues.apache.org/jira/browse/SHINDIG-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hjelmstad resolved SHINDIG-1101.
-------------------------------------

    Resolution: Fixed

Patch committed.

> gadgets.window.adjustHeight() fails to resize in Webkit-based browsers
> ----------------------------------------------------------------------
>
>                 Key: SHINDIG-1101
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1101
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>            Reporter: Michael Hermanto
>         Attachments: shindig-1101-fix, shindig-1101-fix-2
>
>
> In Webkit-browsers, gadgets will only resize to a larger size, but not to a smaller size.  This works in other browsers. Under the current implementation, when no explicit height is specified, gadgets.window.adjustHeight() will try to determine the height based on element's scrollHeight and offsetHeight. Webkit always picks the larger value (after resize) and calculating based on these result in incorrect (over-estimated) height.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.