Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SelectItem behavior change

    Hi,

    We observe a behavior change for the SelectItem between SmartClient_v83p_2013-06-11_PowerEdition and SmartClient_v83p_2013-08-25_PowerEdition.

    When the selectItem has a value, on 06-11 build, if we click the picker, the picklist shows and auto scrolls to make the current value in the middle of the picklist; on 08-25 build, if we click the picker, the picklist shows and auto scrolls to make the current value on top of the picklist. This behavior change make some of our selenium test cases fail.

    This behavior can be reproduced on both FF12 and IE9 with the following code:

    Steps to reproduce: click the picker icon of the SelectItem.

    Code:
    var vm = new Array();
    for(var i=0; i<100;i++) {
        vm[i] = i;    
    }
    
    isc.DynamicForm.create({
        width: 500,
        fields: [
            {title:"Numbers", editorType:"select", 
              valueMap: vm, defaultValue: "40"
            }
        ]
    });

    #2
    We did indeed change the default scroll position as you describe as part of another change.
    We'll restore the previous behavior (scrolling to center) for the next nightly build

    Regards
    Isomorphic Software

    Comment


      #3
      Thanks for the fix. It works fine now.

      Comment

      Working...
      X