Last Updated: February 25, 2016
·
3.256K
· opinel

Dealing with iOS 6 killing setTimeouts while dragging or scrolling in Safari

Recently I had to find out that Safari is killing window.setTimeout calls when the user is currently scrolling or dragging the browser's screen. This is only happening on iOS6 and is not effecting older OS versions.
In order to handle this behavior you have to wait for Apple to fix the bug or re-implement the JavaScript timer functions on your own, e.g. use this GIST: https://gist.github.com/3755461