Results 1 to 2 of 2

Thread: Side Effect with Animation v1.0a2

  1. #1
    Ext JS Premium Member mikegiddens's Avatar
    Join Date
    Mar 2007
    Denver, Colorado
    Vote Rating

    Default Side Effect with Animation v1.0a2

    I was changing up some code and wanted to point this out to see if this is an issue.

    This snip works great. Props for the inline animation.
    but it had side effect when I put

    with the update at the end it never shows any code. and doesn't react to the pause.


    uses the pause but never shows the text until it slides out.

    If I am not using this right then could someone please advise. If this is a bug then I hope this helps.

    Tested in: IE7, FireFox

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Austin, Texas
    Vote Rating


    At the moment, it is slightly confusing, but you cannot chain just any Element methods together with effects like that. The reason is that only the Fx methods go through the internal effects queue so that they get sequenced correctly. Adding non-Fx method calls (like update) in the chain can have unexpected results.

    One thing you can do is pass a callback into the effects methods, so you might try adding a separate function (it can be anonymous) that does your final update, and pass that in as the callback to your last effect so that it gets called after the slideOut completes.

    We'll be sure to clarify this limitation once the docs have been updated.

Similar Threads

  1. highlight effect
    By jamaljohnson in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 13 Apr 2011, 10:04 PM
  2. SlideUp - Effect??
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 26 Mar 2007, 7:57 AM
  3. enableDragDrop in grid has no effect
    By rodiniz in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 28 Feb 2007, 6:55 AM
  4. blindShow animation effect
    By electric_bit in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 27 Dec 2006, 5:27 AM
  5. Server-side vs. Client-side...
    By zquirm in forum Community Discussion
    Replies: 2
    Last Post: 22 Dec 2006, 8:15 PM

Posting Permissions

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