Results 1 to 2 of 2

Thread: [4.1] Text field size changes when on focus / blur in IE8

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6796 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    47
    Vote Rating
    1
      0  

    Default [4.1] Text field size changes when on focus / blur in IE8

    Hi,
    I've got a problem with a text field that shrinks to 1 character wide when it gains focus, then grows to 3 characters as I enter a few characters, then if I focus elsewhere on the page, it goes back to it's default size. This is in IE 8 only.

    Here is the sample code:

    Code:
    <html>
        <head>
            <title></title>
            <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />
            <script type="text/javascript" src="extjs/ext-debug.js"></script>        
            <script>
            Ext.application({
                name: 'HelloExt',
                launch: function() {
                    Ext.create('Ext.container.Viewport', {
                        layout: 'fit',
                        items: [
                            {
                                title: "test",
                                dockedItems: [
                                    {
                                        xtype: 'toolbar',
                                        dock: 'top',
                                        items: [
                                
                                            // begin using the right-justified button container
                                            '->', // same as { xtype: 'tbfill' }
                                            {
                                                xtype    : 'textfield',
                                                name     : 'searchfield',
                                                emptyText: 'Enter search term',
                                                size: 20
                                            }
                                        ]
                                    }
                               ]
                            }
                        ]
                    });
                }
            });
                        
                
            
            </script>
        </head>
        <body>
        </body>
    </html>
    Anyone else seeing this?

    Andy

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,411
    Vote Rating
    1290
      0  

    Default

    Thanks for the report. We will take a look at this but looks like a field in IE cannot be shrink wrapped but we will look into it.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

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
  •