This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    22
    Vote Rating
    4
    Stx.Greg is on a distinguished road

      0  

    Default DatePicker cannot select last item in slot - Desktop Chrome

    DatePicker cannot select last item in slot - Desktop Chrome


    Ext Versions tested:
    Sencha Touch 2.1.0

    Browser versions tested against:
    Google Chrome 23.0.1271.97 m - Windows 7

    DOCTYPE tested against:
    HTML

    Description:
    The DatePicker will not select the last item in a slot. The selected value is also not centered in the highlighted area.

    Steps to reproduce:
    Instantiate a date picker, add it to the Viewport, and show it. The initial date is "January 1 1980".
    Try to select "December 31 2013" and then tap Done.

    The result that was expected:
    The date "December 31 2013" should be centered in the highlighted region of the picker. The value returned when tapping Done should be "December 31 2013"

    The result that occurs instead:
    When scrolling down to select "December", the slot bounces back to "November", and the "November" label is not centered in the highlighted area. Consequently, the date slot does not update to include "31" at the end.
    When attempting to select "2013" in the year slot, the year bounces back up a bit to an uncentered position, and when Done is tapped, the selected year is 2012.

    Screenshots:
    1 - Initial view when the picker is shown
    Picker_0_Initial.png

    2 - When trying to select the last item in each slot
    Picker_1_Selected.png

    3 - The value returned
    Picker_2_Done.png

    Debugging already done:
    Tested in mobile Safari on an iPod Touch, and the picker works correctly.
    I have only tried producing the problem in desktop Chrome on Windows 7.

    Possible fix:
    None

    Additional css used:
    None

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    There are already other reports of this but is a Chrome only bug also. Does not happen on actual devices.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    22
    Vote Rating
    4
    Stx.Greg is on a distinguished road

      0  

    Default


    I did see some other threads, but they were marked as non-reproducible or incomplete. Is there another thread where this issue is being addressed? I'd like to keep an eye on it to know when it is fixed.

    http://www.sencha.com/forum/showthread.php?237289
    http://www.sencha.com/forum/showthread.php?238018