googlearchive / paper-tabs

A tabs à la Material Design
22 stars 21 forks source link

Implement radial ripple disappearance from the design specification #16

Closed marcoms closed 9 years ago

marcoms commented 9 years ago

For some reason, the spec defines the ripple animation for tabs different to that of other ripples - where the ripple expands as normal, but does not fade out, but radially disappears from its centre.

Conforming to http://www.google.com/design/spec/components/tabs.html#specs-specs-4

marcoms commented 9 years ago

It seems that this style is shown here as well, but it is not consistently used (see http://material-design.storage.googleapis.com/videos/meaningfultransitions-visualcontinuity2_large_xhdpi.webm)

frankiefu commented 9 years ago

Will work with designers to have the right effect.

marcoms commented 9 years ago

never mind, spec has just changed to match paper-ripple's existing animation (despite the other one looking way cooler :))

http://material-design.storage.googleapis.com/publish/material_v_3/material_ext_publish/0B3T7oTWa3HiFZWZ6dndJX09Zak0/components_tabs_tabtouchtarget.webm