PDA

View Full Version : Sencha touch animation problem - after slide animation is completed, animated element



d007
26 Sep 2011, 4:01 AM
Here is my animation code:


Ext.Anim.run(loginform, 'slide', { out: true, direction: 'left', autoClear: false }); And here is my loginform:


loginform = new Ext.form.FormPanel({ url: 'login.php', standardSubmit : false, style: 'margin-top: 60px', items: [...] And in relation to the page:


myapp.cards.home = new Ext.Panel({ scroll: 'vertical', id: "home-card", layout:{ type:"vbox", align:"center" }, items: [header, loginform] }); The animation code is ran on successful submit of the form. However it doesn't take the loginform off the screen if the device is horizontal or the device has quite a wide screen.

Please help.

d007
26 Sep 2011, 6:03 AM
So am I right in thinking that animations do not work properly in the current release?