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
    Vote Rating

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

    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:

            <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />
            <script type="text/javascript" src="extjs/ext-debug.js"></script>        
                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
    Anyone else seeing this?


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    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

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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