Results 1 to 2 of 2

Thread: [4.2.0] Animation breaks the order of nodes in the tree view

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default [4.2.0] Animation breaks the order of nodes in the tree view

    Please see the test case here: http://fiestadev.bryntum.com/#203-tr...race-condition

    This issue is probably caused by race condition some where in the animation code.

    Test case:

    Code:
    var treeStore = new Ext.data.TreeStore({
        fields : [ 'id', 'name' ],
        root   : {
        }
    });
    
    var treePanel = new Ext.tree.Panel({
        columns : [
            {
                xtype     : 'treecolumn',
                dataIndex : 'name'
            }
        ],
    
        rootVisible : false,
    
        width  : 300,
        height : 300,
    
        viewConfig : {
            animate : true
        },
    
        store    : treeStore,
        renderTo : Ext.getBody()
    });
    
    treeStore.getRootNode().appendChild({
        id       : 2,
        leaf     : false,
        expanded : true,
        name     : "2"
    });
    
    treeStore.getRootNode().appendChild({
        id       : 3,
        leaf     : false,
        expanded : true,
        name     : "3"
    });
    
    treeStore.getById(3).appendChild({
        id   : 4,
        leaf : true,
        name : "4"
    });
    treeStore.getById(2).appendChild({
        id   : 5,
        leaf : true,
        name : "5"
    });
    Last edited by mitchellsimoens; 14 Jun 2013 at 7:05 AM. Reason: added test

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •