Results 1 to 4 of 4

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

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    32
    Answers
    2
    Vote Rating
    1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1297
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    32
    Answers
    2
    Vote Rating
    1
      0  

    Default

    I'm using 4.0.7.

  5. #4
    Sencha User
    Join Date
    Mar 2010
    Posts
    32
    Answers
    2
    Vote Rating
    1
      0  

    Default

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

Tags for this Thread

Posting Permissions

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