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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: