angular-ui/bootstrap — pull request #2136 by Sanjo (2014-05-03 01:43:54+00:00)
Title: fix(timepicker): Scrolling over without focus should't change value

This fixes #2046. I just added a focused check in the mousewheel/wheel event handlers. In the related four tests I needed to attach the element to the document body to make .focus() work. I added two additional tests that ensure that scrolling will not change the timepicker value when the input element is not focused.