Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13439 closed bug (invalid)

jquery Animations broken on iOS6.0 while scrolling

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


iOS 6 breaks setTimeput and setInterval while scrolling a page. even if it is not scrollable and you only see the iOS "bounce" effects. that stops jQuery animations from work when you scroll the page during a jquery animation. in iOS 6.0 the animation complete callback is NOT fired. this was fixed in iOS 6.1.

the problem was described earlier here but closed: http://bugs.jquery.com/ticket/12620

this is a fix for iOS6.0: https://gist.github.com/kTmnh/3798925

related stackoverflow topics to that bug: http://stackoverflow.com/questions/12855123/ios-6-js-events-function-not-called-if-has-settimeout-in-it http://stackoverflow.com/questions/12683510/ios-6-safari-setinterval-doesnt-get-fired http://stackoverflow.com/questions/11177774/setinterval-pauses-in-iphone-ipad-mobile-safari-during-scrolling

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Owner: set to anonymous
Status: newpending

Were you proposing that we add those lengthy timer shims to jQuery? We have a policy to never overwrite APIs we don't own. If requestAnimationFrame fixes the issue you could switch to using that for animations, using this plugin: http://plugins.jquery.com/requestAnimationFrame/

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.