bendavis78 / paper-time-picker

Material design time picker component for polymer
http://bendavis78.github.io/paper-time-picker/
MIT License
89 stars 63 forks source link

Can't move hour selector #22

Closed SebastianBoyd closed 7 years ago

SebastianBoyd commented 8 years ago

The hour selector won't move when I drag it however the minute selector works fine.

SebastianBoyd commented 8 years ago

Only happens when clock is not visible in initial load and needs to be scrolled to.

RobinLinus commented 8 years ago

Same here on iOS

ThreeScreenStudios commented 8 years ago

@bendavis78 - I think I found where the issue is. In paper-clock-selector.html, in the _onTouch method, the bounds checking is failing when it comes to the hour clock. Because the clocks are stacked, the hour clock has a much different top value than the minute clock. I tried fooling around with adjusting the y calculation but couldn't get it to work properly - hopefully this can help track down the problem?

admwx7 commented 7 years ago

A fix is out for this, if someone is still experiencing the issue, create a new PR and tag me in it please!