Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-4017 in a recent build.
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    40
    Vote Rating
    0
    ayqazi is on a distinguished road

      0  

    Default [OPEN] Mouse scrolling on a grid scrolls both horizontally and vertically

    [OPEN] Mouse scrolling on a grid scrolls both horizontally and vertically


    I'm starting to get worryingly familiar with submitting bug reports.

    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.0.2a

    Browser versions tested against:
    • FF3.6
    • Chromium 14

    Description:
    • When you scroll all the way to the bottom-right of a grid with both horizontal and vertical bars visible, then scroll up, it scrolls BOTH the horizontal and vertical bars at the same time. The horizontal then KEEPS scrolling to the left regardless of whether or not you scroll up or down.

    Steps to reproduce the problem:
    • Scroll all the way to the bottom right of the grid
    • Scroll up

    Test Case:

    Code:
    Ext.onReady(function() {
        var i, j;
    
        var fields = []
        for(j = 1; j <= 100; ++j) {
            fields.push('field'+j);
        }
    
        var dataItems = []
        for(i = 1; i <= 20; ++i) {
            var item = {}
            Ext.each(fields, function(field) {
                item[field] = field + ' ' + i;
            });
            dataItems.push(item);
        }
    
        var store = Ext.create('Ext.data.Store', {
            'fields': fields,
            data: {
                'items': dataItems
            },
            proxy: {
                type: 'memory',
                reader: {
                    type: 'json',
                    root: 'items'
                }
            }
        });
    
        var columns = []
        Ext.each(fields, function(column) {
            columns.push({
                dataIndex: column,
                header: column
            });
        });
        var grid = Ext.create('Ext.grid.Panel', {
            title: 'Lots of columns',
            store: store,
            selType: 'cellmodel',
            'columns': columns,
            height: 200,
    
            renderTo: 'container'
        });
    });
    --
    Asfand Qazi

  2. #2
    Sencha - Ext JS Dev Team
    Join Date
    Jun 2011
    Location
    Boston
    Posts
    81
    Vote Rating
    4
    germanicus is on a distinguished road

      0  

    Default


    This made it into 4.0.7. Meanwhile, here's an override:

    Code:
    Ext.override(Ext.EventObjectImpl, {
        correctWheelDelta: function (delta) {
            var scale = this.WHEEL_SCALE,
                ret = Math.round(delta/scale);
     
            if (!ret && delta) {
                ret = (delta < 0) ? -1 : 1;
            }
            return ret;
        }
    });

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    31
    Vote Rating
    0
    aq2.sanger is on a distinguished road

      0  

    Default


    Ext 4.0.7 is released, with the bug fixed? Perfect

    Edit: sorry, misread. It WILL be in Ext 4.0.7 when it is released.
    --
    Regards,
    Asfand Qazi
    Team 87 HTGT
    Sanger Institute

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi