ICEfaces
  1. ICEfaces
  2. ICE-7956

Modal and Movable dialog positioning changes unpredictably as a portlet

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.1, EE-3.0.0.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces 3 ACE Portal Portlet

      Description

      When interacting with the Modal and Movable dialog component, it's position on the screen can change unpredictably. This occurs with both MyFaces and Mojarra although it seems to react differently with each implementation.

      With Mojarra, resizing the dialog causes it to jump. With MyFaces, closing and re-opening seems to cause it to redraw in an unpredictable screen location.

        Activity

        Hide
        Deryk Sinotte added a comment -

        The behaviour seems to have improved somewhat since last testing and the dialogs have always been functional. The are two main issues:

        The first one is that the way the example is built, all of the dialog examples use the same widgetVar value of "sampleDialog". This is fine in the non-portlet showcase where they never appear together at the same time but in the portlet case, when two of them can be on the page at the same time, this causes a problem of all the portlets "sharing" the same instance. Uniquely renaming them seems to solve the problem.

        The second is positional where the dialogs will sometimes reposition after resizing. For example if you move the modal dialog and then attempt to resize it, it may jump back to some default position. The defining factor seems be the left edge of the column that the portlet is in. This seems to be the "container" that the repositioning is recalculated to (rather than left edge of the page or the browser).

        Show
        Deryk Sinotte added a comment - The behaviour seems to have improved somewhat since last testing and the dialogs have always been functional. The are two main issues: The first one is that the way the example is built, all of the dialog examples use the same widgetVar value of "sampleDialog". This is fine in the non-portlet showcase where they never appear together at the same time but in the portlet case, when two of them can be on the page at the same time, this causes a problem of all the portlets "sharing" the same instance. Uniquely renaming them seems to solve the problem. The second is positional where the dialogs will sometimes reposition after resizing. For example if you move the modal dialog and then attempt to resize it, it may jump back to some default position. The defining factor seems be the left edge of the column that the portlet is in. This seems to be the "container" that the repositioning is recalculated to (rather than left edge of the page or the browser).

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: