Threaded View

  1. #1
    Touch Premium Member
    Join Date
    Jan 2011
    Posts
    13
    Vote Rating
    0
    worldblender is on a distinguished road

      0  

    Default Answered: list can't be scrolled or selected

    Answered: list can't be scrolled or selected


    I have a simple app with a list that used to scroll and behave great. But now after switching to ST2, the list doesn't scroll and its items are not selectable. Below is the relevant code. Any ideas?

    Code:
    new Ext.application({
      name: 'testapp',
      launch: function() {
        mainPanel = new Ext.Panel({
          fullscreen: true,
          layout: 'card',
          cardSwitchAnimation: 'slide',
          items: [frontPanel, backPanel]
        });
      }
    });
    
    
    var frontPanel = new Ext.form.FormPanel({
      layout: 'fit',
      items: [{
        xtype: 'list',
        scrollable: 'vertical',
        store: attrs,
        itemTpl: '{attribute}'
      }]
    });
    I'm on ST2 Beta 1, and I've tested this on Android 2.3.6, Chrome, and iPod Touch v2

  2. Are you creating your formpanel outside the launch method? If so, you shouldn't.

Thread Participants: 1

Tags for this Thread