Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34

Thread: DatePicker won't select the last item in a list

    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. #31
    Sencha User
    Join Date
    Mar 2012
    Posts
    20

    Default

    Thank you emrahsu for the fix and twinux for the note.

    Sencha should address this as now in Android 4.4 the apps are rendered with Chrome Engine and this issue persist on packaged native apps.

  2. #32
    Sencha User
    Join Date
    Mar 2014
    Location
    Costa Rica
    Posts
    7

    Default

    Do you know some work around for this? I am using sencha version 2.0.1

    I can see this issue with Select fields as well in Samsung S4 and Samsung S5 with Android Kitkat version.

  3. #33
    Sencha User
    Join Date
    Mar 2012
    Posts
    20

    Default The Quick Fix for devices

    Quote Originally Posted by mbrenes12 View Post
    Do you know some work around for this? I am using sencha version 2.0.1

    I can see this issue with Select fields as well in Samsung S4 and Samsung S5 with Android Kitkat version.
    The only fix I found that works is provided in this thread:
    Posted y emrahsu :

    Code:
    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;
    
    And an important note from twinux:

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

    Code:
    {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)

  4. #34
    Sencha User =NR='s Avatar
    Join Date
    Mar 2013
    Location
    Singapore
    Posts
    115

    Default still happening for chrome on ST 2.3.1 version

    this bug still exist in sencha 2.3.1 for chrome.

    can sencha team do something about this ?

    - solution post: http://www.sencha.com/forum/showthre...l=1#post939069


    and( i does not apply this extra step as I can't find the variable and the thing already fixed with the first step)


    http://www.sencha.com/forum/showthre...l=1#post939478

    Quote Originally Posted by Nepol View Post


    The only fix I found that works is provided in this thread:
    Posted y emrahsu :



    And an important note from twinux:

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •