You found a bug! We've classified it as EXTJS-5488 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,639
    Vote Rating
    103
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default [4.1B3] Panel collapse/expand behavior broken

    [4.1B3] Panel collapse/expand behavior broken


    Collapsing and then expanding panel programmatically doesn't work.

    Siesta test case:
    Code:
    StartTest(function(t) {
        t.diag('Panel height issue: ');
    
        var p = Ext.create('Ext.Panel', {
            width: 500,
            height: 300,
            title : 'foo',
            renderTo : Ext.getBody(),
            html : 'foo'
        });
    
        p.hide();
        p.collapse();
        p.show();
        p.expand();
    
        // Wait for anim to complete
        t.waitFor(2000, function() {
            t.is(p.el.getHeight(), 300, 'Height ok');    // RETURNS 26, only header shown
        });
    });
    Using animCollapse : false then all is ok.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    If the panel is hidden, the animation should be skipped and collapse should collapse it as if animCollapse as false. If the panel is shown and you do rapid calls like that (which I don't know of a use case for this to happen) I would expect it to cancel the collapsing and expand correctly.

    We will take a look at this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    3
    Vote Rating
    0
    shadizar is on a distinguished road

      0  

    Default


    On Ext4.1.0 I have a similar issue:

    - I start with a panel inside a window,
    - I check if the panel should be expanded or not => panel.collapse() or panel.expand()
    - I make the window popup => window.show()

    Result:
    - the panel is collapsed ( in this case ) and I cannot expand it programatically or otherwise because it has some properties isCollapsingOrExpanding : 1 or collapsed: false

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar