Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9825 closed bug (duplicate)

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.

Change History (2)

comment:1 Changed 8 years ago by timmywil

Component: unfiledeffects
Priority: undecidedlow
Resolution: duplicate
Status: newclosed

comment:2 Changed 8 years ago by timmywil

Duplicate of #9381.

Note: See TracTickets for help on using tickets.