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

        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: