Hacker News new | ask | show | jobs
by usaphp 3674 days ago
For some reason scrolling that page on my iPhone 6s is insanely lagging, is it due to a plugin?
3 comments

It's because there's a wrapper div with "overflow: auto" around the entire page. This means you're scrolling inside the div (unaccelerated, need to repaint) instead of scrolling the entire document (accelerated, no need to repaint, can just move around pre-rendered tiles). Removing the "overflow: auto" makes scrolling smooth.
Also slow on a 5s
Also laggy in Safari on OS X.