You found a bug! We've classified it as TOUCH-3289 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #21
    Sencha User
    Join Date
    Apr 2012
    Posts
    37
    Vote Rating
    3
    DonM is on a distinguished road

      0  

    Default


    Just another person reporting the issue.

    Chrome 23.0.1271.97

  2. #22
    Sencha Premium Member intellix's Avatar
    Join Date
    Mar 2012
    Location
    UK + Malta
    Posts
    263
    Vote Rating
    18
    intellix will become famous soon enough

      0  

    Default


    +1
    Chrome 24.0.1312.56

  3. #23
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    1
    xpironJB is on a distinguished road

      0  

    Default Please reopen thread again

    Please reopen thread again


    +1 Chrome Version 24.0.1312.57

    Hello, it's important to fix it, cause this issue makes the ui-element unuseable!
    Please reopen thread and investigate.

    Thanks in advance
    J.


  4. #24
    Sencha User
    Join Date
    Dec 2012
    Posts
    2
    Vote Rating
    0
    emrahsu is on a distinguished road

      0  

    Default


    Hello,

    You can find a solution like this, insert the red-line statement into getSnapPosition method of the Scroller.js

    getSnapPosition: function(axis) {
    var snapSize = this.getSlotSnapSize()[axis],
    snapPosition = null,
    position, snapOffset, maxPosition, mod;

    if (snapSize !== 0 && this.isAxisEnabled(axis)) {
    position = this.position[axis];
    snapOffset = this.getSlotSnapOffset()[axis];
    maxPosition = this.getMaxPosition()[axis];

    if (position >= maxPosition) return null;
    mod = (position - snapOffset) % snapSize;

  5. #25
    Sencha User
    Join Date
    Aug 2010
    Posts
    2
    Vote Rating
    0
    twinux is on a distinguished road

      0  

    Default +1

    +1


    Same thing here.
    Not working on Chrome 24.0.1312.57 m

    Working on Android / Iphone

  6. #26
    Sencha User
    Join Date
    Aug 2010
    Posts
    2
    Vote Rating
    0
    twinux is on a distinguished road

      0  

    Default thanks...

    thanks...


    It works.


    Of course i have to made some changes on the variable names for the "sencha-touch-all.js" file :


    {a=this.position[c];f=this.getSlotSnapOffset()[c];e=this.getMaxPosition()[c];/*FIXME:datepickerfield troubleshoot*/if(a>=e){return null;}/*END*/b=(a-f)%g;if(b!==0)

  7. #27
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    1
    xpironJB is on a distinguished road

      0  

    Thumbs up Thank you

    Thank you


    Thank you Emrahsu for providing a quick fix.

  8. #28
    Sencha User
    Join Date
    Mar 2007
    Posts
    416
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default


    Still happening in 2.2.1.

  9. #29
    Sencha Premium Member
    Join Date
    Apr 2008
    Posts
    266
    Vote Rating
    28
    themightychris has a spectacular aura about themightychris has a spectacular aura about

      0  

    Default


    Confirmed that 2.2.1 still suffers from this with stock theme and picker config on all devices...

    We've had success working around this by setting absolute picker heights in pixels on the slot bar and the slot items.

    The issue stems from em units being used to size the bar and the slot, and the picker layout and selected item calculation relying on them being the exact same height when a ton of factors can cause the em heights of the two far-separated elements to resolve to different pixel heights.

    Since the picker operates on the assumption that the bar and slot items are the same height, rather than relying on the theme to get them there, the framework should programmatically set the bar height to the measured height of the first slot item.
    Chief Architect @ Jarv.us Innovations
    Co-captain @ Code for Philly

    Jarvus builds and optimizes top-quality Sencha Touch and ExtJS apps for open-source projects and clients of all sizes.

    Don't waste time with bugs that have already been found and fixed by the community, compile our tried and tested hotfixes packages into all your projects: https://github.com/JarvusInnovations/sencha-hotfixes

  10. #30
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    1
    jimtwoods is on a distinguished road

      1  

    Default


    For anyone who might have stumbled onto this forum looking for a solution, I leveraged theMightChris's previous post and modified the following in my CSS:

    .x-picker-slot .x-dataview-item{
    height: 50px;
    line-height: 50px;
    }


    .x-picker-bar{
    height: 50px;
    }

    This seems to work for me, but your experience may vary. Hope this helps.