I guess OP doesn't use requestAnimationFrame, otherwise, it would wait for the tab being focused.
Edit: Checked the code. He uses requestAnimationFrame.
You meant the opposite though, right?
Re:Walkway.js
by andrethegiant on Friday October 31, 2014 @05:17PM
(#8541187)
The Page Visibility API would help fix this. https://developer.mozilla.org/en-US/docs/Web/Guide/User_expe...
Re:Walkway.js
by experimental- on Friday October 31, 2014 @02:28PM
(#8540289)
In Linux, I get a varying, incomplete image with Firefox (33) and nothing with Chrome (38).
Re:Walkway.js
by popey456963 on Friday October 31, 2014 @02:26PM
(#8540276)
I get the same problem, tried on both Chrome and Internet Explorer (Windows 7).
I got the same problem with Safari 8 on OS X 10.10
Re:Walkway.js
by andrewrice on Friday October 31, 2014 @02:21PM
(#8540253)
Same here (Chrome 38 on Win 8.1)
It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...