Sencha滚动bug android 2.3.5

时间:2013-09-14 10:35:15

标签: javascript extjs sencha-touch sencha-touch-2

切换生产模式后,在sencha touch 2滚动似乎几乎死在android 2 3 5设备上,虽然在iphone / ipad上一切正常,任何想法? 即时通讯使用Ext.NestedList

滚动: '垂直',  全屏:真,

感谢

Ext.define('front.view.Main', {
extend: 'Ext.data.Model',
require: ["Ext.data.proxy.SQL", "Ext.field.Search", "Ext.NestedList", "Ext.data.Store"],
config: {
    fields: ['text'],
    scrollable: {
        direction: 'vertical'
    }

},
listeners:{
    intialize:function(){
    }
 }
 });

 treestore = Ext.create("Ext.NestedList", {
    fullscreen: true,
    scrollable: {
            direction: 'vertical'
        },
    updateTitleText :false,
    useTitleAsBackText: false,
    defaultBackButtonText : null,
    backText: '<div class="backtext"></div>',
    tabBarPosition: 'bottom',
    useToolbar:true,
    id: 'mainPanel',
    /*listConfig:{
        itemTpl:'<div class="nav-element"><span style="" class="txt">{name}</span><span class="calc">'+f_count+'</span></div>'
    },*/
    title: '<div class="titleimg"></div>',
    displayField: 'title',
    store: {
        storeId:'ms',
        type: 'tree',
        id: 'ListCard',
        fields: [
            'title','code','name','c_count',
            {name: 'leaf', defaultValue: true}
        ],

        root: {
            leaf: false
        },
        proxy: {
            type: 'jsonp',
            url: 'http://now-yakutsk.stairwaysoft.net/frontmodel/catlist.php?f_count='+f_count,
            reader: {
                type: 'json',
                rootProperty: 'cat'
            }
        }
    },

0 个答案:

没有答案