-
21 Feb 2013 1:42 PM #1
Unanswered: Animation Question
Unanswered: Animation Question
I have a form navigation view with a search field and a list. I would like to animate the search in and out of view either via a button or swipe.
The problem I'm having is when I toggle the search field (using show/hide) the list will first jump down to the search field's end position and the. The search field slides down.
Is there any way to push the list down with the animated search field without the jump?
Thanks
-
22 Feb 2013 2:18 AM #2
I figured it out by animating the view as opposed to the items in it (was a 'doh' moment).
One thing though, I've used Ext.Animator for this (found post about it on stack overflow) but there doesn't seem to be any reference to it in the docs for 2.1 (i'm using 2.1.1).
Any idea why it's not in the docs?Code:Ext.Animator.run({ element: myElement, duration: 250, easing: 'ease-in', preserveEndState: true, from: { top: -45 }, to: { top: 0 } });
-
26 Feb 2013 7:44 AM #3
For the same reason there's no documenation for other things either...I guess
http://www.sencha.com/forum/showthre...-documentation


Reply With Quote