View Full Version : scrolling options

22 Jan 2012, 10:55 AM
When setting up a Ext.Panel... How come

scroll: 'horizontal',

behaves so very different from

scroll: {
horizontal: true

Shouldn't that be the same thing?

23 Jan 2012, 9:02 AM
Try using direction instead of horizontal. In Ext.Component#setScrollable, it takes the string and makes a config object:

Ext.isObject(config) ? config: {}, {
// momentum: true,
direction: direction