ICEfaces
  1. ICEfaces
  2. ICE-3563

Focus is set on parent form when modal popup is opened

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When a modal popup is opened the focus is set to a component on the parent page. Also when the popup is closed the focus is set on to a component on the popup.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Support Customer Ref. #s https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=5202
        Arran Mccullough made changes -
        Attachment focus-parent.JPG [ 11263 ]
        Arran Mccullough made changes -
        Attachment focus-popup.JPG [ 11264 ]
        Ken Fyten made changes -
        Fix Version/s 1.8DR#3 [ 10143 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Adnan Durrani [ adnan.durrani ]
        Hide
        Paul Hanneman added a comment -

        I also found that if you set the focus correctly to the modal pop up, you can tab thru the components, then back to the parent page while the modal popup is still active.

        Can we also limit the tabbing to only cycle thru the modal popup while it is active?

        Show
        Paul Hanneman added a comment - I also found that if you set the focus correctly to the modal pop up, you can tab thru the components, then back to the parent page while the modal popup is still active. Can we also limit the tabbing to only cycle thru the modal popup while it is active?
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Fix Version/s 1.8RC1 [ 10143 ]
        Hide
        Ken Fyten added a comment -

        Reqs:

        1. Modal popup could set focus to the first focusable element (via tabIndex) it contains (if any) when first made visible.

        2. When hidden it could set focus back to the element that had focus immediately prior to when it was made visible.

        3. When the tab key used to change focus, focus could be restricted from landing on elements not contained in the modal dialog (or the browser container, menus, etc. itself).

        Requires investiation.

        Show
        Ken Fyten added a comment - Reqs: 1. Modal popup could set focus to the first focusable element (via tabIndex) it contains (if any) when first made visible. 2. When hidden it could set focus back to the element that had focus immediately prior to when it was made visible. 3. When the tab key used to change focus, focus could be restricted from landing on elements not contained in the modal dialog (or the browser container, menus, etc. itself). Requires investiation.
        Ken Fyten made changes -
        Estimated Complexity Medium
        Salesforce Case []
        Assignee Priority P3
        Assignee Adnan Durrani [ adnan.durrani ] Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18387 Fri Feb 20 15:07:38 MST 2009 art.zambrano ICE-3563 Focus is set on parent form when modal popup is opened
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopup.java
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18388 Fri Feb 20 15:43:09 MST 2009 art.zambrano ICE-3563 (added fix for rendering issue in Webkit browsers)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js
        Hide
        Arturo Zambrano added a comment -

        Fixed at revision 18387
        The tabbing issue is documented in a different JIRA: ICE-4120

        Show
        Arturo Zambrano added a comment - Fixed at revision 18387 The tabbing issue is documented in a different JIRA: ICE-4120
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8RC2 [ 10163 ]
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P3
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Arturo Zambrano [ artzambrano ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: