PDA

View Full Version : [FIXED-507] List display broken with scroll=false in 0.99



dloomer
8 Nov 2010, 8:11 PM
Easily demonstrable in Kitchen Sink. All I need to do is add the 'scroll: false' line in the following block:



demos.List = new Ext.TabPanel ({
items: [{
title: 'Simple',
layout: Ext.is.Phone ? 'fit' : {
type: 'vbox',
align: 'center',
pack: 'center'
},
cls: 'demo-list',
items: [{
width: Ext.is.Phone ? undefined : 300,
height: 500,
xtype: 'list',
scroll: false,
store: demos.ListStore,
itemTpl: '<div class="contact"><strong>{firstName}</strong> {lastName}</div>'
}]
}, {


And 1) the borders and padding go away and 2) the background doesn't change color when an item in the list is selected.

I can get around #1 in my app by overriding some CSS classes, but haven't figured out a workaround to #2.

dloomer
9 Nov 2010, 5:52 AM
Looks like this is fixed in RC1.

aconran
9 Nov 2010, 9:56 AM
Thanks for the feedback. This was related to ticket 507.
http://www.sencha.com/forum/showthread.php?114653-OPEN-507-0.99-incorrect-Ext.form.Select-popup-height-if-too-many-items