bendavis78 / paper-date-picker

Material design date picker component for polymer
http://bendavis78.github.io/paper-date-picker/
MIT License
226 stars 132 forks source link

year-picker responsive-interaction #61

Open Zecat opened 8 years ago

Zecat commented 8 years ago

https://www.google.com/design/spec/animation/responsive-interaction.html#

The years from the year-picker should implement paper-ripple and the selected year should be recentered in the year-picker's viewport before it being closed as it's possible to create a neon-animation to animate the scroll using a this._effect.onsample.

bendavis78 commented 8 years ago

For the most part, I've been going by the Android implementation of the date picker as seen in the Google Calendar app. The android date picker does not currently do this. In essence, this would add 3 separate animations occurring at the same time, which might violate the "but never distracting" part. Also in my experience, having a ripple and a fade at the same tends to be very choppy on mobile.

Having said that, if you want to do a PR for this I'm more than happy to take a look.

bendavis78 commented 8 years ago

Update: since Android N, it seems like the date picker does now have a ripple from the center of the button. Slating this for 1.2.