ICEfaces
  1. ICEfaces
  2. ICE-9833

ace:tableConfigPanel - panel can be dragged outside of the browser view

    Details

    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Set the body to be draggable. One side effect of this is that if the panel renders a scrollbar, clicking on the scrollbar will drag the panel.

      Description

      An ace:tableConfigPanel is set to be dragged via the header. It is possible to drag the panel out of the browser view where, once dropped, becomes un-accessible. This is mainly an issue when dragging to the very top where the header will be hidden.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Summary ace:tableConfigPanel = panel can be dragged outside of the browser view ace:tableConfigPanel - panel can be dragged outside of the browser view
        Hide
        Arran Mccullough added a comment -

        Attached test case to reproduce the issue. Note: the icefaces, icefaces-ace, and icefaces-compat jar files need to be added into the war to run.

        Steps:

        • Load welcomeICEfaces.jsf
        • Click the icon to open the tableConfigPanel
        • Click and drag the panel up so the header is outside of the viewable area.
        • Release the mouse, panel is now stuck there.
        Show
        Arran Mccullough added a comment - Attached test case to reproduce the issue. Note: the icefaces, icefaces-ace, and icefaces-compat jar files need to be added into the war to run. Steps: Load welcomeICEfaces.jsf Click the icon to open the tableConfigPanel Click and drag the panel up so the header is outside of the viewable area. Release the mouse, panel is now stuck there.
        Arran Mccullough made changes -
        Attachment Case12646Example.war [ 16679 ]
        Attachment Case12646Example.zip [ 16680 ]
        Hide
        Arran Mccullough added a comment -

        One observation is that the ace:dialog does not have this issue. Possibly the same code needs to be added to the tableConfigPanel dialog.

        Show
        Arran Mccullough added a comment - One observation is that the ace:dialog does not have this issue. Possibly the same code needs to be added to the tableConfigPanel dialog.
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 4.0 [ 10770 ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Affects Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40002 Wed Feb 12 15:45:12 MST 2014 art.zambrano ICE-9833 added 'containment' setting to draggable panel to avoid going beyond the document
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tableconfigpanel/tableconfigpanel.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 40002 and to 3.3 maintenance branch at revision 40003. Added 'containment' setting to the draggable panel to avoid going beyond the document.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 40002 and to 3.3 maintenance branch at revision 40003. Added 'containment' setting to the draggable panel to avoid going beyond the document.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: