ICEfaces
  1. ICEfaces
  2. ICE-9746

ace:selectMenu - Unable to interact with the component in IE11

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Icefaces4 trunk revision# 39423
      Mojarra 2.2.4
      Server: Tomcat7
      Browser: IE11 (Doesn't occur in other browsers)
    • Assignee Priority:
      P2

      Description

      The drop down list does not render when clicking the component. The drop down list will render if you focus on the component (using TAB) before clicking it.

      To reproduce:
      1) Build / deploy showcase sample
      2) Navigate to ace:selectmenu demo
      3) Try interacting with the component

        Activity

        Hide
        Mircea Toma added a comment - - edited

        Detect IE11 (based on user agent string) to make sure the corresponding callbacks are registered for the select menu component. Previously the detection for IE relied on the presence of window.attachEvent function (which is correct). IE11 now removed the proprietary API so we cannot rely anymore on the presence of certain variables or properties.

        See http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx#legacyAPIs .

        Show
        Mircea Toma added a comment - - edited Detect IE11 (based on user agent string) to make sure the corresponding callbacks are registered for the select menu component. Previously the detection for IE relied on the presence of window.attachEvent function (which is correct). IE11 now removed the proprietary API so we cannot rely anymore on the presence of certain variables or properties. See http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx#legacyAPIs .
        Hide
        Ken Fyten added a comment -

        Re-open to apply this fix to the maintenance branch.

        Show
        Ken Fyten added a comment - Re-open to apply this fix to the maintenance branch.
        Hide
        Mircea Toma added a comment -

        Applied fix to maintenance branch.

        Show
        Mircea Toma added a comment - Applied fix to maintenance branch.
        Hide
        Liana Munroe added a comment - - edited

        Component now works in IE 11. Only issue seen so far is that occasionally when selecting the arrow the list will drop and then retract quickly, similar to the issue in ICE-9798. This happens approximately one of six times using the component. Not able to reliably reproduce it. (ee-3.3.0 only,ace regression test applications, not seen with Icefaces 4).
        Tested with revision #40526.

        Show
        Liana Munroe added a comment - - edited Component now works in IE 11. Only issue seen so far is that occasionally when selecting the arrow the list will drop and then retract quickly, similar to the issue in ICE-9798 . This happens approximately one of six times using the component. Not able to reliably reproduce it. (ee-3.3.0 only,ace regression test applications, not seen with Icefaces 4). Tested with revision #40526.
        Hide
        Mircea Toma added a comment -

        I cannot reproduce this issue. Most probably in the test you use the focus is moved by the update from the select menu, thus causing the drop down to close.

        Show
        Mircea Toma added a comment - I cannot reproduce this issue. Most probably in the test you use the focus is moved by the update from the select menu, thus causing the drop down to close.
        Hide
        Liana Munroe added a comment - - edited

        I was able to reproduce this issue on our test machine that uses IE 11.

        • The test machine is at 10.18.39.107, usual login credentials.
        • Build and deploy selectMenu and use the test apps located at:
          http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/selectMenu.
        • Try the test apps that have an h: dataTable or ui repeat. There are more chances that the issue will occur there.
        • Click each arrow on the page.
        • Occasionally the drop down will close immediately after opening.
          When this happens a log entry will state that focus was persisted for element twice in a row.
          Example:
          [window] [Thu, 03 Apr 2014 22:19:27 GMT] persisted focus for element "form:table:1:uiRepeat:0:selectProvince_input"
          [window] [Thu, 03 Apr 2014 22:19:27 GMT] persisted focus for element "form:table:1:uiRepeat:0:selectProvince_input"
          

          When an action is successful, the log entry will only appear once.

        This issue can ONLY be seen the first time through a test application page in the session.

        Show
        Liana Munroe added a comment - - edited I was able to reproduce this issue on our test machine that uses IE 11. The test machine is at 10.18.39.107, usual login credentials. Build and deploy selectMenu and use the test apps located at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/selectMenu . Try the test apps that have an h: dataTable or ui repeat. There are more chances that the issue will occur there. Click each arrow on the page. Occasionally the drop down will close immediately after opening. When this happens a log entry will state that focus was persisted for element twice in a row. Example: [window] [Thu, 03 Apr 2014 22:19:27 GMT] persisted focus for element "form:table:1:uiRepeat:0:selectProvince_input" [window] [Thu, 03 Apr 2014 22:19:27 GMT] persisted focus for element "form:table:1:uiRepeat:0:selectProvince_input" When an action is successful, the log entry will only appear once. This issue can ONLY be seen the first time through a test application page in the session.
        Hide
        Mircea Toma added a comment -

        Modified select menu onclick callback to clear up the delayed clearing of the dropdown right at the beginning of the callback since sometimes the dropdown creation takes longer than 250ms.

        Show
        Mircea Toma added a comment - Modified select menu onclick callback to clear up the delayed clearing of the dropdown right at the beginning of the callback since sometimes the dropdown creation takes longer than 250ms.
        Hide
        Liana Munroe added a comment - - edited

        Still able to reproduce this issue ee-3.3.0 maintenance branch r40799 and IE 10.
        With IE 11 the issue is much harder to reproduce. It can be seen on the icepc-ie10 test machine using IE 10 and the ace:selectMenu inside ui:repeat inside h:dataTable test app. It is still not reliably reproduced and is more likely to happen inside a dataTable or ui:repeat.

        Show
        Liana Munroe added a comment - - edited Still able to reproduce this issue ee-3.3.0 maintenance branch r40799 and IE 10. With IE 11 the issue is much harder to reproduce. It can be seen on the icepc-ie10 test machine using IE 10 and the ace:selectMenu inside ui:repeat inside h:dataTable test app. It is still not reliably reproduced and is more likely to happen inside a dataTable or ui:repeat.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: