ICEfaces
  1. ICEfaces
  2. ICE-8012

ice:panelPopup - draggable popup position is changed upon first click of header in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03, EE-1.8.2.GA_P04
    • Fix Version/s: EE-1.8.2.GA_P05
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE
    • Assignee Priority:
      P1

      Description

      An ice:panelPopup is set to use position:absolute so that it can be displayed in a location where the popup code is defined in the xhtml code. The panelPopup is set to be draggable and non modal.

      When the header is clicked on the first rendered the position is changed. Investigating the rendered code a left value us set for the popup when first displayed. When the header is clicked a value of 0px is set for the left position value.

        Activity

        Hide
        Arran Mccullough added a comment -

        Test case that shows issue. Click on Open Popup button and then the popup header to see issue.

        Show
        Arran Mccullough added a comment - Test case that shows issue. Click on Open Popup button and then the popup header to see issue.
        Hide
        Ken Fyten added a comment -

        Too risky to change this for P04 at this time.

        Show
        Ken Fyten added a comment - Too risky to change this for P04 at this time.
        Hide
        Mircea Toma added a comment -

        Removing line 171 in bridge/lib/scriptaculous/dragdrop.js fixes the problem.

        171: window.focus(); // allows keypress events if window isn't currently focused, fails for Safari

        Still, it's a mystery why windows.focus() call can cause this issue.

        Show
        Mircea Toma added a comment - Removing line 171 in bridge/lib/scriptaculous/dragdrop.js fixes the problem. 171: window.focus(); // allows keypress events if window isn't currently focused, fails for Safari Still, it's a mystery why windows.focus() call can cause this issue.
        Hide
        Mircea Toma added a comment -

        Fixed mysterious IE issue by removing window.focus() call.

        Show
        Mircea Toma added a comment - Fixed mysterious IE issue by removing window.focus() call.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: