1 Reply Latest reply on Jan 7, 2013 5:59 AM by klhoste2

    rich:select : strange behaviour with many items on IE9

    klhoste2

      Hello,

       

      I found that the rich:select component may have an incorrect behaviour on IE9 when displaying a huge list.

       

      When playing with the scrollbar, and hovering over a value in the list, the scrollbar becomes crazy and go down while I move the cursor, so I can't select a value.

       

      The code for reproducing is simple :

       

          <rich:select id="selectId">
                    <f:selectItems value="#{select.hugeList}"/>
           </rich:select>
      
      

       

      And in the Java bean :

       

      @ManagedBean(name = "select")
      @ViewScoped
      public class SelectBean implements Serializable
      { 
        private static final long serialVersionUID = 1L;
      
        private static final int SIZE = 1000;
      
        private List<SelectItem> hugeList;
      
        public List<SelectItem> getHugeList()
        {
          if (hugeList == null)
          {
            hugeList = new ArrayList<SelectItem>();
            for (int i = 0; i < SIZE; i++)
            {
              hugeList.add(new SelectItem("id_" + i, "id_" + i));
            }
          }
          return hugeList;
        }
      }
      
      

       

      The bug seems to appear with less elements in the list (100 maybe).

       

      For this test I used:

      - Tomcat 6

      - JSF 2.1.14

      - RF 4.1 Final and latest RF 4.3

      - IE9 on Windows 7 64bits.

       

      It works fine on Firefox, Chrome and older IE versions.

       

      Should I create an issue to JIRA for this ?