Skip to main content

Bug Tracker

Side navigation

#13439 closed bug (invalid)

Opened February 12, 2013 11:20AM UTC

Closed February 27, 2013 08:58AM UTC

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:
Description

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

Attachments (0)
Change History (2)

Changed February 12, 2013 02:26PM UTC by dmethvin comment:1

owner: → 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/

Changed February 27, 2013 08:58AM UTC by trac-o-bot comment:2

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!