Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User DTT_11-1983's Avatar
    Join Date
    Apr 2008
    Posts
    92
    Vote Rating
    2
    DTT_11-1983 is on a distinguished road

      0  

    Default [4.x] Chrome browser - Grid auto scroll down when selecting an item on grid

    [4.x] Chrome browser - Grid auto scroll down when selecting an item on grid


    This is how to recreate this bug:

    Replace portal.js's content in 'Examples/portal' folder (go with ExtJS4 package) with code I post below.

    Using chrome browser to load Portal Layout Sample, resize it so that you can see vertical scrollbar. Click on an item on grid. The layout will break.

    Here is the modified portal.js code:

    Code:
    /**
     * @class Ext.app.Portal
     * @extends Object
     * A sample portal layout application class.
     */
    // TODO: Fill in the content panel -- no AccordionLayout at the moment
    // TODO: Fix container drag/scroll support (waiting on Ext.lib.Anim)
    // TODO: Fix Ext.Tool scope being set to the panel header
    // TODO: Drag/drop does not cause a refresh of scroll overflow when needed
    // TODO: Grid portlet throws errors on destroy (grid bug)
    // TODO: Z-index issues during drag
    
    Ext.define('Ext.app.Portal', {
    
        extend: 'Ext.container.Viewport',
    
        uses: ['Ext.app.PortalPanel', 'Ext.app.PortalColumn', 'Ext.app.GridPortlet', 'Ext.app.ChartPortlet'],
    
        getTools: function(){
            return [{
                xtype: 'tool',
                type: 'gear',
                handler: function(e, target, panelHeader, tool){
                    var portlet = panelHeader.ownerCt;
                    portlet.setLoading('Working...');
                    Ext.defer(function() {
                        portlet.setLoading(false);
                    }, 2000);
                }
            }];
        },
    
        initComponent: function(){
            var content = '<div class="portlet-content">'+Ext.example.shortBogusMarkup+'</div>';
    
            Ext.apply(this, {
                id: 'app-viewport',
                layout: {
                    type: 'border',
                    padding: '0 5 5 5' // pad the layout from the window edges
                },
                items: [{
                    id: 'app-header',
                    xtype: 'box',
                    region: 'north',
                    height: 40,
                    html: 'Ext Portal'
                },{
                    xtype: 'container',
                    region: 'center',
                    layout: 'border',
                    items: [{
                        id: 'app-options',
                        title: 'Options',
                        region: 'west',
                        animCollapse: true,
                        width: 200,
                        minWidth: 150,
                        maxWidth: 400,
                        split: true,
                        collapsible: true,
                        layout: 'accordion',
                        layoutConfig:{
                            animate: true
                        },
                        items: [{
                            html: content,
                            title:'Navigation',
                            autoScroll: true,
                            border: false,
                            iconCls: 'nav'
                        },{
                            title:'Settings',
                            html: content,
                            border: false,
                            autoScroll: true,
                            iconCls: 'settings'
                        }]
                    },{
                        id: 'app-portal',
                        xtype: 'portalpanel',
                        region: 'center',
                        items: [{
                            id: 'col-1',
                            items: [{
                                id: 'portlet-1',
                                title: 'Grid Portlet',
                                tools: this.getTools(),
                                items: Ext.create('Ext.app.GridPortlet'),
                                listeners: {
                                    'close': Ext.bind(this.onPortletClose, this)
                                }
                            }]
                        }]
                    }]
                }]
            });
            this.callParent(arguments);
        },
    
        onPortletClose: function(portlet) {
            this.showMsg('"' + portlet.title + '" was removed');
        },
    
        showMsg: function(msg) {
            var el = Ext.get('app-msg'),
                msgId = Ext.id();
    
            this.msgId = msgId;
            el.update(msg).show();
    
            Ext.defer(this.clearMsg, 3000, this, [msgId]);
        },
    
        clearMsg: function(msgId) {
            if (msgId === this.msgId) {
                Ext.get('app-msg').hide();
            }
        }
    });
    Sorry for my bad English.

  2. #2
    Sencha User DTT_11-1983's Avatar
    Join Date
    Apr 2008
    Posts
    92
    Vote Rating
    2
    DTT_11-1983 is on a distinguished road

      0  

    Default


    I found the problem.
    Please have a look at this file ext-all-debug.js (ExtJS 4.0.2) from line 7442 to 7455
    Code:
            focus: function(defer,
                            
                            dom) {
                var me = this;
                dom = dom || me.dom;
                try {
                    if (Number(defer)) {
                        Ext.defer(me.focus, defer, null, [null, dom]);
                    } else {
                        dom.focus();
                    }
                } catch(e) {}
                return me;
            },
    dom is undefined cause that problem. It should be me.focus(); or Ext.defer(me.focus, 1, null, [null, dom]); I guess.

    I need a temporary fix for now. Please help.

    Thanks
    Tung Do
    Sorry for my bad English.

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    CT
    Posts
    462
    Vote Rating
    2
    ValterBorges is on a distinguished road

      0  

    Default +1

    +1


    EXT,

    Need fix please!!!!!

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    CT
    Posts
    462
    Vote Rating
    2
    ValterBorges is on a distinguished road

      0  

    Default similar issue

    similar issue


    I had a similar issue and this fixed it.

    //// /* Override introduced for Ext. 4.0.5 to fix IE grid movement on row click */
    Ext.override(Ext.selection.RowModel, {

    onRowMouseDown: function (view, record, item, index, e) {
    //view.el.focus(); //This row was commented
    this.selectWithEvent(record, e);
    }

    });

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    tom.hartwell-ec is on a distinguished road

      0  

    Default


    Similarly, for GridPanels with CheckboxSelectionModel-based selection:

    Ext.override(Ext.selection.CheckboxModel, {
    onRowMouseDown: function(view, record, item, index, e) {
    //view.el.focus();
    var me = this,
    checker = e.getTarget('.' + Ext.baseCSSPrefix + 'grid-row-checker');


    if (me.checkOnly && !checker) {
    return;
    }

    if (checker) {
    var mode = me.getSelectionMode();


    if (mode !== 'SINGLE') {
    me.setSelectionMode('SIMPLE');
    }
    me.selectWithEvent(record, e);
    me.setSelectionMode(mode);
    } else {
    me.selectWithEvent(record, e);
    }
    }
    });