Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is the scrolling behavior on OS X custom implemented, just like on Firefox? Imo it hits the uncanny valley unfortunately, especially for edge bounce back. Otherwise, excited to try this out more.


I think the browser.html team will be very interested in this feedback. I sat with them as they poured over Cocoa disassembly and source trying to replicate the behavior as best they could. We definitely have some things to improve. Because we are using our own rendering system to draw on the GPU, we can't use Apple's implementation of this stuff which requires buying into Core Graphics/Core Animation completely I believe.

Note that I don't think Firefox has overscroll at all, except maybe on mobile.


It's worth looking at WebKit's implementation: https://github.com/WebKit/webkit/blob/master/Source/WebCore/...


There are a couple of bugs around it, where the bounce back stutters a bit. Also, in general, we have the same physics as Mac OS X, but the constants are known to be a bit off. We'll need to tweak those.


OS X also has acceleration when you scroll enough. These are extremely useful on long lists.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: