Scrolling Tricks

+Nick Butcher and I spent some time today in London coding up a few useful scrolling techniques. A screencap video is shown below, and you can get the code at:


Sticky — This trick is similar to the "synchronized scrolling" technique that +Kirill Grouchnikov described here: http://goo.gl/BHbD7. It shows how to make a scrolling view (such as a 'buy now' button) stick to the top of its scroll container instead of scrolling off-screen.

Quick Return — This is similar to Google Now's search box. It scrolls off-screen with the rest of the scrollable content, but upon scrolling slightly up at any point, it scrolls back into view. Quite a handy technique for search bars and the like.

Shared publiclyView activity