Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Location
    Perth, Western Australia
    Posts
    73
    Vote Rating
    0
    fairport is on a distinguished road

      0  

    Default Scroller issue with Sony Experia Z running Android 4.1.2

    Scroller issue with Sony Experia Z running Android 4.1.2


    The Sony Experia uses the Chrome for Android browser, which has issues with scrolling.
    There has been a workaround posted for ST 2.1

    We need one for ST 1.1 - as we have clients with these devices screaming ...
    Yes... I know we need to move to ST2 but we don't have the spare 20-30 man months needed to convert all our code in the short term and this App already owes us about $200k !!

    Mitchell ... would you mind showing me how to emulate this override in ST 1 please.

    Here is the override for ST 2.1
    Forum post = http://www.sencha.com/forum/showthre...ncha-touch-2.1

    Code:
    Ext.define('overrides.Ext.util.Translatable', {  override: 'Ext.util.Translatable',
      requires: [    'Ext.util.translatable.CssTransform',    
    'Ext.util.translatable.ScrollPosition'  ],  
    
    constructor: function (config) {    
       var namespace = Ext.util.translatable,     
             CssTransform = namespace.CssTransform,      
             ScrollPosition = namespace.ScrollPosition,      
             classReference;    
    
    if (typeof config == 'object' && 'translationMethod' in config) {      
    
       if (config.translationMethod === 'scrollposition') {        
           classReference = ScrollPosition;     
       }     
       else if (config.translationMethod === 'csstransform') {        
          classReference = CssTransform;      
       }    
    }    
    if (!classReference) {     
         if (Ext.os.is.Android2) {       
           classReference = ScrollPosition;     
        }      
       else 
       {        classReference = CssTransform;      
        }    
    }    return new classReference(config);  } });
    

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,811
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The scroller between ST1 and ST2 doesn't work the same so backporting this override isn't really feasible. As for this bug report, development has moved to ST2.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  3. #3
    Touch Premium Member
    Join Date
    Jun 2011
    Location
    Perth, Western Australia
    Posts
    73
    Vote Rating
    0
    fairport is on a distinguished road

      0  

    Default


    Mitchell.

    Apologies for posting it as a bug... I fully understand that we should have moved to ST2 but that is a huge job with the amount of code in this project.

    I was really asking if there is some way of achieving the same outcome in a ST 1 override.

    Thanks

Thread Participants: 1