You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Joe Rossi (JIRA)" <de...@myfaces.apache.org> on 2007/10/19 19:50:50 UTC

[jira] Created: (TRINIDAD-777) Lightweight dialogs sometimes rendered such that top is off the page

Lightweight dialogs sometimes rendered such that top is off the page
--------------------------------------------------------------------

                 Key: TRINIDAD-777
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-777
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.2.2-core
            Reporter: Joe Rossi


If the browser window is set to a size whereby its height is less than the size of a dialog which is about to be launched then the dialog is placed such that the top is not visible which means that some or part of the dialog is not accessible.

This could be wrong but from a cursory glance it appears to be problem in PanelPopup.js: TrPanelPopup.prototype._calcPosition
Maybe it should never allow top attribute to be set to a negative value?


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


[jira] Resolved: (TRINIDAD-777) Lightweight dialogs sometimes rendered such that top is off the page

Posted by "Danny Robinson (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny Robinson resolved TRINIDAD-777.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.4-core
         Assignee: Danny Robinson

Added check to prevent negative positioning of modal dialogs & popups.


> Lightweight dialogs sometimes rendered such that top is off the page
> --------------------------------------------------------------------
>
>                 Key: TRINIDAD-777
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-777
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.2-core
>            Reporter: Joe Rossi
>            Assignee: Danny Robinson
>             Fix For: 1.0.4-core
>
>
> If the browser window is set to a size whereby its height is less than the size of a dialog which is about to be launched then the dialog is placed such that the top is not visible which means that some or part of the dialog is not accessible.
> This could be wrong but from a cursory glance it appears to be problem in PanelPopup.js: TrPanelPopup.prototype._calcPosition
> Maybe it should never allow top attribute to be set to a negative value?

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