Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPad 2 and Safari 5.1.2 - scroller stops working #31

Open
JFusco opened this issue Feb 15, 2012 · 2 comments
Open

iPad 2 and Safari 5.1.2 - scroller stops working #31

JFusco opened this issue Feb 15, 2012 · 2 comments

Comments

@JFusco
Copy link

JFusco commented Feb 15, 2012

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

@ghostCoder
Copy link

i face the same issue. any updates??

@sempfglas
Copy link

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!!!
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants