Add Scalable/Tossable interaction demos and fix bug in Tossable state reporting.

Authored by featherless on Wed, Mar 15, 8:08 PM.

Description

Add Scalable/Tossable interaction demos and fix bug in Tossable state reporting.

Summary: Tossable was reporting an at rest state when draggable finished due to the state pool drying up before the spring interaction had a chance to start. By observing the spring's state first and draggable's state last, we ensure that the state pool maintains an active state across the hand-off.

Reviewers: O2 Material Motion, O4 Material Apple platform reviewers, Material Motion

Tags: Material Motion

Differential Revision: http://codereview.cc/D2885

Details