PDA

View Full Version : [FIXED-991] Chrome/Chromium doesn't scrolls to active tab



BFT
25 May 2010, 3:08 AM
Dear ExtJs'ers

Google Chrome/Chromium doesn't scrolls to an active tab, all other browsers (including Konqueror) works correct.

Example:


Ext.onReady(function() {
var o = {};
var win = new Ext.Window({
width:400,
height:300,
layout:'anchor',
items:[
{
xtype:'button',
text:"doLayout",
handler:function()
{
o.win.doLayout();
}
},
new Ext.TabPanel({
activeTab:4,
enableTabScroll:true,
items:[
{
xtype:'panel',
title:"11111111111111111111",
html:"11111111111111111111"
},
{
xtype:'panel',
title:"2222222222 ",
html:"222222222222"
},
{
xtype:'panel',
title:"333333 3 333333",
html:"3333333"
},
{
xtype:'panel',
title:"444444444444 4 ",
html:"4444444444444"
},
{
xtype:'panel',
title:"5 5 5 5555555",
html:"555555555"
},
{
xtype:'panel',
title:"666666 666666666666",
html:"6666666666"
}
]
})
]
});
win.show();
o.win = win;
});


In all browsers, except Chrom*, when page loaded, tab panel automatically scrolled to an active tab (no.4), and when doLayout button pressed nothing appears. This is expected behavior

In Crhrom*s, when page loaded tab panel didn't scrolled to active tab (scrolled left), pressing doLayout button also scrolls to a left tabs.

What is your opinion - is it a bug of Crhom*? Or it can be corrected in Ext?

jsakalos
25 May 2010, 6:03 AM
Confirmed. It behaves as you describe in Google Chrome-5.0.375.55 beta@OSX-10.6.3. Moving this thread to bugs.

evant
14 Jul 2010, 4:06 AM
I ran this test case against the SVN build and I wasn't able to reproduce it. I think it's likely that the issue was resolved by the issue that was fixed here: http://www.sencha.com/forum/showthread.php?100815-PENDING-Tab-close-icon-can-shift-out-of-view

Marking this one as closed.