Skip to main content

Bug Tracker

Side navigation

#9825 closed bug (duplicate)

Opened July 14, 2011 02:22PM UTC

Closed July 14, 2011 02:40PM UTC

Last modified July 14, 2011 02:40PM UTC

animate callback function isn't executed when tab is inactive (chrome & FF5)

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: effects Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

I noticed that in Firefox 5 and Chrome a callback function to animate() isn't executed if the tab isn't active. But when switched back to the tab the queue of unexecuted callbacks is executed straight away without any delay in between them.

Safari, FF3.6, IE8 and IE9 don't show this bug.

function runMe(){

$('#something').animate({key:val},200, function(){
$('body').append('<p>hello</p>');
});

setTimeout(runMe,1000);
}

runMe();

In the above example it would straight away append 20x "hello"s to the body if switched to another browser-tab for 20s.

Attachments (0)
Change History (2)

Changed July 14, 2011 02:40PM UTC by timmywil comment:1

component: unfiledeffects
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed July 14, 2011 02:40PM UTC by timmywil comment:2

Duplicate of #9381.