News for hackers. Stuff that matters.
Re:Sticky Headers with Pure JavaScript and CSS by vhiremath4 on Monday October 15, 2012 @04:04AM (#4654170)
Yes I agree. It needs a good amount of more testing. Could you file an issue on the repo? I'd really appreciate it. I'm also aware that there are issues on iOS.
Re:Sticky Headers with Pure JavaScript and CSS by freddywang on Monday October 15, 2012 @10:22AM (#4655148)
The catch: don't go for native scrolling if you want iOS issue fixed. Try emulated scrolling what iScroll did before iOS5 came out. When inertia scrolling kicks in (the moment your release your touch and page continue its momentum scroll), any offset, scrollTop information is not updated. You are out of luck trying to fit any positioning calculation based on outdated offset/position. At the moment, there is no solution for this until Apple fix it.
Re:Sticky Headers with Pure JavaScript and CSS by cheald on Monday October 15, 2012 @05:03AM (#4654290)
position: fixed on iOS is basically a non-starter, FWIW. If you can fix all the issues with it you'll be a minor internet hero. :)