-
5 Oct 2010 5:16 AM #1
[DEFER] Ext.Fx: element.stopFx() has no effect?
[DEFER] Ext.Fx: element.stopFx() has no effect?
Ext version tested:
- Ext 3.2.1
Adapter used:
- ext
css used:
- ext-all.css
Description:
The question is simple: is there a way to stop ALL the effects initiated on a specific element with just one line of code?
The behaviour described in Ext.Fx() docs seem to be exactly what I need:
but calling element.stopFx() does nothing.stopFx() : Stops any running effects and clears the element's internal effects queue if it contains any additional effects that haven't started yet.
I am aware of the special anim object that is written in animations config object so if I have only one effect running I can do this:
But if I started several animations on the same element (in given example the element is moved around),Code:opt = {duration: 10}; el.move('r', 500, opt); ... opt.anim.stop()
then simply calling opt.anim.stop() doesn't stop the element from moving. In fact calling opt.anim.stop() as many times as many effects I have started leads to complete stop but this is weird.Code:opt = {duration: 10}; el.move('r', 500, opt); el.move('r', 500, opt); el.move('r', 500, opt); el.move('r', 500, opt);
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED]Ext.Element.getStyle set display style property side-effect on webkit
By imat in forum Ext 3.x: BugsReplies: 6Last Post: 29 Jul 2010, 9:32 AM -
[DEFER-1088]preventBodyReset has no effect on Windows
By Animal in forum Ext 3.x: BugsReplies: 4Last Post: 30 Jun 2010, 3:44 AM -
[2.0] stopFx() & hasActiveFx() incorrect for Element.moveTo()
By mattbennett in forum Ext 2.x: BugsReplies: 2Last Post: 23 Feb 2008, 10:22 PM


Reply With Quote