Ok since the ios6 update I found a gazilion of bugs in safari and chrome, the most serious one is that if you have one or more setTimeouts and you are scrolling the page chances are that those timers will never run this will crush your app for sure.
I’ve tried a fix on my own but I have found a javascript class which is fixing this issue, you can download it at the below link.
https://gist.github.com/3755461?goback=.gde_3007928_member_166494491I have added a few a few lines of code so that this class is activated only if it is running on IOS6 , for those who need this class with modification email me and I will send it to you.
I hope this helps.
Regards.
That’s a really strange bug.
Thanks for sharing this.
I can’t believe apple escaped this bug into the browser, frankly flash was 100 more bug free then html5 on safari.
- Has been a member for 1-2 years
- Author was Featured
- Referred between 10 and 49 users
- Bought between 1 and 9 items
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
Thank you for sharing. iOS 6 is very weird.
I want to add the requestAnimationFrame is not rendered all the time so stay away from it on ios6!
- Exclusive Author
- Item was Featured
- Author was Featured
- Author had a File in an Envato Bundle
- Has been a member for 4-5 years
- Sold between 100 000 and 250 000 dollars
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- India
Thanks for sharing FWD .
FWDesign said
I want to add the requestAnimationFrame is not rendered all the time so stay away from it on ios6!
raf doesn’t work too? WTF ?! After successfully killed flash Apple is trying to kill (ie render useless) the web standards too?
maguiar01 said
FWDesign saidraf doesn’t work too? WTF ?! After successfully killed flash Apple is trying to kill (ie render useless) the web standards too?
I want to add the requestAnimationFrame is not rendered all the time so stay away from it on ios6!
YES ! apple’s ios6 is agains HTML5 developers this is what I get from the current update. Read the below post about RAF .
http://forums.greensock.com/topic/6639-tweens-not-working-on-ios6/- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
maguiar01 said
FWDesign saidraf doesn’t work too? WTF ?! After successfully killed flash Apple is trying to kill (ie render useless) the web standards too?
I want to add the requestAnimationFrame is not rendered all the time so stay away from it on ios6!
I think we have enough proof now to officially say that Apple was full of it when it touted “web standards” as a reason to ditch Flash. Last time I visited Apple.com I couldn’t watch a video because I didn’t have Quicktime installed. CASE CLOSED .
As far as RAF is concerned I guess the solution is to use RAF as a simple “onUpdate” ticker and then adjust the CSS manually in the tick function (without computing any styles, etc. as shown in that Greensock example).
Conspiracy theorists might say that web apps are being sabotaged in favor of native Apps. I doubt it, but the theory is out there..
Conspiracy theorists might say that web apps are being sabotaged in favor of native Apps. I doubt it, but the theory is out there.
I’ve been saying this for a long time I totally agree with you, it seam to me that apple cares only about their precious app store, the browser seam that it dose not really matter and they add this bugs intentionally this is how I see it, I mean how the heck to kill timers when the page is scrolled? this was made on purpose for sure.
