Results 1 to 3 of 3

Thread: ComboBox expands upwards in FF57

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153
    Vote Rating
    203
      0  

    Default ComboBox expands upwards in FF57

    Run this code in FF on Linux/Mac. Combo box doesn't look correct, Chrome looks ok.Screen Shot 2017-11-21 at 17.07.09.png

    Code:
    <html>
    <head>
        <title>Ext JS Widgets: Combo Box</title>
        <link rel="stylesheet" type="text/css"
              href="../extjs-6.5.1/build/classic/theme-triton/resources/theme-triton-all.css"/>
        <script type="text/javascript" src="../extjs-6.5.1/build/ext-all-debug.js"></script>
        <script type="text/javascript" src="../extjs-6.5.1/build/classic/theme-triton/theme-triton.js"></script>
    
        <script type="text/javascript">
    Ext.define('User', {
        extend: 'Ext.data.Model',
        idProperty: 'id',
        proxy: {
            type: 'ajax',
            api: {
                read: 'combodata.js'
            }
        },
        fields: [{
            name: 'id',
            type: 'int'
        },
            'name', {
                type: 'date',
                name: 'dateOfBirth',
                dateFormat: 'Y_m_d'
            }
        ]
    });
    
    myStore = new Ext.data.Store({
        model: 'User',
        data: [{
            "id": 1,
            "name": "Mike",
            "dateOfBirth": "2010_01_22",
            "active": true
        }, {
            "id": 2,
            "name": "Ben",
            "dateOfBirth": "2010_01_22",
            "active": true
        }, {
            "id": 3,
            "name": "Anna",
            "dateOfBirth": "2010_01_22",
            "active": true
        }]
    
    });
    
    myStore.load()
    
    Ext.onReady(function () {
    
        var form = new Ext.form.ComboBox({
            displayField: 'name',
            valueField: 'id',
            width: 400,
            store: myStore,
            queryMode : 'local',
            renderTo: document.body
        });
    
    });
    
        </script>
    </head>
    <body>
    <h1>Ext JS Widgets: Combo Box</h1>
    </body>
    </html>

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Vote Rating
    90
      0  

    Default

    A change to the way FF makes the viewport size available?

    Floated component auto alignment adapts to fit where the space is, so it seems to think that there's not enough space below.

  3. #3
    Sencha Premium User alexander.urban's Avatar
    Join Date
    Nov 2013
    Posts
    324
    Vote Rating
    51
      0  

    Default

    @mats Just for reference, can you check in FF in "about:config" the value of "dom.w3c_touch_events.enabled"? ExtJS seems to have issues if the value is "1", while "0" and "2" seem to work okay.

Similar Threads

  1. [FIXED] Combobox expands automaticaly
    By ruoptic in forum Ext 5: Bugs
    Replies: 6
    Last Post: 19 Mar 2015, 11:14 AM
  2. Replies: 6
    Last Post: 7 Jul 2010, 7:09 AM
  3. Possible bug? Ext.form.ComboBox always expands
    By Ian Grainger in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 16 May 2009, 10:12 AM

Posting Permissions

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