You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Anthony Carlucci (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 17:43:37 UTC

[jira] [Created] (RAVE-512) OpenSocial gadgets on non-active Person Profile tabs are not autosizing properly

OpenSocial gadgets on non-active Person Profile tabs are not autosizing properly
--------------------------------------------------------------------------------

                 Key: RAVE-512
                 URL: https://issues.apache.org/jira/browse/RAVE-512
             Project: Rave
          Issue Type: Bug
    Affects Versions: 0.9-INCUBATING
            Reporter: Anthony Carlucci
            Assignee: Anthony Carlucci
            Priority: Minor
             Fix For: 0.10-INCUBATING


OpenSocial gadgets on the non-active tabs on the Person Profile page are not autosizing properly even though they are invoking the gadgets.window.adjustHeight method.  This is due to the fact that the display:none style gets added to the inactive tabs when the page is rendered, and the adjustHeight algorithm doesn't resize the gadget if it is hidden.

How to Reproduce:
1) Log in as any user
2) Go to their Person Profile page
3) Click on the "My Activity" tab
4) Note the large amount of whitespace at the bottom of the My Activity widget - this should not be there

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (RAVE-512) OpenSocial gadgets on non-active Person Profile tabs are not autosizing properly

Posted by "Anthony Carlucci (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Carlucci resolved RAVE-512.
-----------------------------------

    Resolution: Fixed

Resolved - clicking on an inactive tab the very first time will refresh its widgets, forcing them to be correctly auto-sized or display their assigned fixed height.  The solution tracks which tabs have been viewed at least once for efficiency as the widget refresh only needs to occur the very first time an inactive tab is rendered.
                
> OpenSocial gadgets on non-active Person Profile tabs are not autosizing properly
> --------------------------------------------------------------------------------
>
>                 Key: RAVE-512
>                 URL: https://issues.apache.org/jira/browse/RAVE-512
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.9-INCUBATING
>            Reporter: Anthony Carlucci
>            Assignee: Anthony Carlucci
>            Priority: Minor
>             Fix For: 0.10-INCUBATING
>
>
> OpenSocial gadgets on the non-active tabs on the Person Profile page are not autosizing properly even though they are invoking the gadgets.window.adjustHeight method.  This is due to the fact that the display:none style gets added to the inactive tabs when the page is rendered, and the adjustHeight algorithm doesn't resize the gadget if it is hidden.
> How to Reproduce:
> 1) Log in as any user
> 2) Go to their Person Profile page
> 3) Click on the "My Activity" tab
> 4) Note the large amount of whitespace at the bottom of the My Activity widget - this should not be there

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira