enyojs/moonstone — pull request #1524 by aarontam (2014-08-08 07:14:44+00:00)
Title: BHV-12514: Ensure valid scroll position when picker is expanded.

Issue
-------
The scroll bounds can be invalid for `moon.IntegerPicker` controls expanded within a `moon.TimePicker`, causing unexpected scroll behavior initially. This is a side effect of the fix for BHV-11927 (https://github.com/enyojs/enyo/pull/806) as it assumes a valid value for the scroll bounds upon calling `scrollTo`.

Fix
----
We stabilize the scroller when `refreshScrollState` in `moon.IntegerPicker` is called, which occurs when `moon.TimePicker` is expanded.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam