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.
[ Parent
| on HN ]
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.
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?
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.
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.