You found a bug! We've classified it as TOUCH-1124 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    88
    Vote Rating
    0
    Marc-QNX is on a distinguished road

      0  

    Exclamation Panel with template no longer scrollable after setData is called

    Panel with template no longer scrollable after setData is called


    REQUIRED INFORMATION




    ST version tested:
    • ST 2 PR 2

    Browser versions tested against:
    • Chrome 15
    • Safari 5

    Description:
    • If a container contains a template and is scrollable, it is no longer scrollable after setData is called.

    Steps to reproduce the problem:
    • Create MVC app with code below
    • Run app as is. Notice panel is empty but scrollable.
    • Uncomment line 15 in the Main controller and rerun app
    • Notice panel is no longer scrollable

    The result that was expected:
    • panel should be scrollable

    The result that occurs instead:
    • panel is not scrollable

    Test Case:


    Code:
    Ext.define('Test.controller.Main', {
        extend: 'Ext.app.Controller',
    
    
        views : [
            'Home',
        ],
    
    
        refs: [        {
                ref     : 'index',
                selector: 'homeView',
        }],
    
    
        init: function() {  
            Ext.Viewport.add(this.getHomeView().create());
            //this.getIndex().setData({test: 'test'});
        },
    });

    Code:
    Ext.define('Test.view.Home', {
        extend: 'Ext.Container',
        xtype: 'homeView',
        
        config: {
            layout: 'card',
            scrollable: {
                direction: 'vertical'
            },
             tpl: 'Testing: {test}'
    
    
        },
    });







    HELPFUL INFORMATION


    Operating System:
    • Mac OSX 10.6.7

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    This was fixed in PR3.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi