News for hackers. Stuff that matters.
Re:Fast animation with iOS WebKit by MatthewPhillips on Wednesday October 05, 2011 @07:07PM (#3078011)
Joe, why are you so obsessed with making the web look like iOS? Just curious.
Re:Fast animation with iOS WebKit by joehewitt on Wednesday October 05, 2011 @07:37PM (#3078106)
Touch scrolling has become a fundamental interaction on mobile devices and I'd like to see it be leveraged more on the web. That has nothing to do with how the web looks.
Re:Fast animation with iOS WebKit by endtwist on Wednesday October 05, 2011 @07:09PM (#3078021)
Have you tried native scrolling in Safari on iOS? It sucks.
Re:Fast animation with iOS WebKit by MatthewPhillips on Wednesday October 05, 2011 @07:30PM (#3078081)
I have an iPad. When I push up on a webpage it scrolls. Which part sucks?
Re:Fast animation with iOS WebKit by dpearson on Wednesday October 05, 2011 @07:32PM (#3078086)
The whole page can scroll (on iOS 4), but not individual parts of the page. That's what he's been trying to address, and that's the hard part.
Re:Fast animation with iOS WebKit by othermaciej on Wednesday October 05, 2011 @09:24PM (#3078586)
MobileSafari in iOS 5 supports momentum scrolling for scrollable individual parts of the page, here is a blog post about it:

http://johanbrook.com/browsers/native-momentum-scrolling-ios...

fixed positioning is also supported in iOS5.

I am not sure why one would make an iOS5 only script-based scrolling simulation.

Re:Fast animation with iOS WebKit by Groxx on Wednesday October 05, 2011 @08:57PM (#3078498)
And you can't have a fixed-position footer while you scroll around - loads of problems there, not the least of which is that you don't get JS events until the scroll is finished. The only way around it that I'm aware of is to fake all the movement in a fixed-space page, as done here.