scrollability icon indicating copy to clipboard operation
scrollability copied to clipboard

iPad 2 and Safari 5.1.2 - scroller stops working

Open JFusco opened this issue 13 years ago • 2 comments

Hey Joe,

I was testing scrollability on my iPad 2 and Safari (your table example) - it seems to get stuck eventually when playing with it and will no longer scroll, even though i can see the transform:translate3d property changing..Have you or anyone seen this issue?

Thanks

JFusco avatar Feb 15 '12 15:02 JFusco

i face the same issue. any updates??

ghostCoder avatar Apr 03 '12 11:04 ghostCoder

hi there,

it's a while ago since this thread was started. it seems that something changed in newer safari browsers with the document.styleSheets class. the added "-webkit-keyframes" are not available at runtime. i don't have time to further analyse this behaviour.

so, if you need a quick and dirty method to fix this issue you simply have to add one line of code

function onLoad() { var ss = document.createElement("style"); document.head.appendChild(ss); globalStyleSheet = document.styleSheets[document.styleSheets.length-1]; globalStyleSheet.insertRule(".x {}", 0); // <- this one!!! }

sempfglas avatar Dec 05 '14 12:12 sempfglas