View Full Version : [DEFER] Ext.Fx: the 'remove: true' fx config flag does nothing

4 Oct 2010, 11:54 PM
Ext version tested:

Ext 3.2.1

Adapter used:


css used:


Browser versions tested against:

Opera 10.62, FF 3.6.10, Chrome 7
IE8 on Windows 7

I suppose this doesn't depend on browser/platform

Operating System:

Ubuntu 10.04
Windows 7

The setting the 'remove' animation config flag to true doesn't actually remove the element at the end of animation. No matter what element, no matter what effect. Just open any ExtJS demo online and type something like:

Ext.fly('ext-gen71').move('r', 100, {duration: 1, remove: true})The element will remain after the effect finishes.

I hope this would be fixed quickly, it's a small but very unpleasant issue!

4 Oct 2010, 11:59 PM
The only workaround for now is to write a callback like so:

Ext.fly('ext-gen71').move('r', 100, {duration: 1, callback: function(el) {el.remove()}})
Of course this is very inconvenient...

6 Oct 2010, 3:21 AM
Can anyone provide a quick fix/workaround for convenience?