Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1069 in a recent build.
  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    19
    Vote Rating
    0
    FidoX is on a distinguished road

      0  

    Default On android when focus a textfield the app is rescaled

    On android when focus a textfield the app is rescaled



    REQUIRED INFORMATIONExt version tested:
    • Sencha Touch 2 dp2
    Browser versions tested against:
    • Android WebView
    DOCTYPE tested against:
    • ____
    Description:
    • If you have a textfield inside a form panel when you tap into it, you will see how all elements of your application get more bigger (2x size). Simply focusing a (text|area)field. Then, you can not back to the standard size until close the app and start it again.
    Steps to reproduce the problem:
    • Create a simple application with a textfield inside a formpanel.
    • Tap the textfield.
    The result that was expected:
    • The size of your application doesn't change.
    The result that occurs instead:
    • It is like doing a 2x zoom of your app.
    Test Case:
    Code:
    Ext.application({
        name: 'Test',
    
    
        launch: function() {
            Ext.create('Ext.Container', {
                layout: 'card',
                fullscreen: true,
                items: [{
                    docked: 'top',
                    xtype:  'button',
                    text: 'Button'
                }, {
                    xtype: 'formpanel',
                    items: [{
                        xtype: 'textfield',
                        name: 'fieldname',
                        label: 'Text Label...',
                        required: false
                    }]
                }]
            });
        }
    });
    *

    Should be tested in a android device

    HELPFUL INFORMATION
    Screenshot or Video:
    • not available
    See this URL for live test case:

    Debugging already done:
    • not available
    Possible fix:
    • Im debugging to lookup a solution. If anybody have any hint about this, please tell us.
    Additional CSS used:
    • sencha-touch.css
    • sencha-touch.css (of dp 1)
    Operating System:
    • Android 2.3 Using the emulator and phisical devices

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, what Android devices are you seeing this on?

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    19
    Vote Rating
    0
    FidoX is on a distinguished road

      0  

    Default


    I've tested on the emulator, htc desire, htc wildfire, Galaxy II and Galaxy Ace. Ive tested too on Motorola xoom but in it doesn't fail.

    The thing is, I've discovered that is an issue of the WebView not related to sencha. Fail with a simple html like this:

    Code:
    <body>
      <div style="font-size: 1em">Testing...</div>
      <input type="text />
    </body>
    Seems its related to the em sizing. I haven't yet more info. But I've solved with the viewport meta:
    Code:
    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, maximum-scale=0.5, minimum-scale=1.0" />
    Greetings.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar