1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    25
    Vote Rating
    0
    Answers
    2
    zoggo is on a distinguished road

      0  

    Default Answered: Panel collapse/expand freez after several clicks/doubleclicks

    Answered: Panel collapse/expand freez after several clicks/doubleclicks


    I have a panel with a collapse button. When I fire serveral rapid clicks on the collapse button the panel will freeze in the close state with a small line of content beneath the header. This can happen when the user uses doubleclicks on the button. The button icons shows "expanded". As I can see in the panel properties the height is set to 29px instead of 300px. So the panel never will expand fully again. Does someone know this issue and can give me a solution?

  2. I found a solution by myself. I had to stop the anmiation with stopAnimation in beforeCollapse-Eventhandler.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    873
    Answers
    3566
    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


    What Ext JS 4.x.x version are you using? I tried with 4.1.1 and 4.1.3 and it works as I'd expect. Maybe a test case?
    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.

  4. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    25
    Vote Rating
    0
    Answers
    2
    zoggo is on a distinguished road

      0  

    Default


    I'm using 4.0.7.

  5. #4
    Sencha User
    Join Date
    Mar 2010
    Posts
    25
    Vote Rating
    0
    Answers
    2
    zoggo is on a distinguished road

      0  

    Default


    I found a solution by myself. I had to stop the anmiation with stopAnimation in beforeCollapse-Eventhandler.

Thread Participants: 1

Tags for this Thread