Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1158 in a recent build.
  1. #1
    Sencha User semiaddict's Avatar
    Join Date
    Mar 2010
    Posts
    45
    Vote Rating
    2
    semiaddict is on a distinguished road

      1  

    Default Ext.dataview.List's preventSelectionOnDisclose not working

    Ext.dataview.List's preventSelectionOnDisclose not working


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.0PR2
    Browser versions tested against:
    • Chrome 15 (Windows)
    Description:
    • Ext.dataview.List - preventSelectionOnDisclose has no effect
    Steps to reproduce the problem:
    • Set "preventSelectionOnDisclose" to true
    The result that was expected:
    • Items don't get selected when the disclosure icon is tapped
    The result that occurs instead:
    • Items get selected when the disclosure icon is tapped
    Test Case:

    Code:
    Ext.regModel('Contact', {
       fields: ['firstName', 'lastName']
    });
    
    var store = new Ext.data.JsonStore({
       model: 'Contact',
       sorters: 'lastName',
       getGroupString: function(record) {
           return record.get('lastName')[0];
       },
       data: [
           {firstName: 'Tommy',   lastName: 'Maintz'},
           {firstName: 'Rob',     lastName: 'Dougan'},
           {firstName: 'Ed',      lastName: 'Spencer'},
           {firstName: 'Jamie',   lastName: 'Avins'},
           {firstName: 'Aaron',   lastName: 'Conran'},
           {firstName: 'Dave',    lastName: 'Kaneda'},
           {firstName: 'Jacky',   lastName: 'Nguyen'},
           {firstName: 'Abraham', lastName: 'Elias'},
           {firstName: 'Jay',     lastName: 'Robinson'},
           {firstName: 'Nigel',   lastName: 'White'},
           {firstName: 'Don',     lastName: 'Griffin'},
           {firstName: 'Nico',    lastName: 'Ferrero'},
           {firstName: 'Nicolas', lastName: 'Belmonte'},
           {firstName: 'Jason',   lastName: 'Johnston'}
       ]
    });
    
    var list = new Ext.List({
       fullscreen: true,
       itemTpl: '<div class="contact">{firstName} <strong>{lastName}</strong></div>',
       store: store,
       onItemDisclosure: function(){console.log("disclosure");},
       preventSelectionOnDisclose: true
    });


    HELPFUL INFORMATION

    Operating System:
    • Windows 7
    ---
    Oussama Mubarak // Semiaddict

  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 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


    This has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Sencha User
    Join Date
    Dec 2010
    Posts
    2
    Vote Rating
    0
    ayuzhin is on a distinguished road

      0  

    Default


    Ext.dataview.List's preventSelectionOnDisclose not working again.

    Sencha Touch 2.1.1 - OK

    Sencha Touch 2.2 Final - not working

  5. #5
    Sencha User
    Join Date
    Apr 2013
    Posts
    24
    Vote Rating
    1
    winniwinter is on a distinguished road

      1  

    Default


    I can also confirm this.

    It's not working with v2.2

  6. #6
    Sencha User
    Join Date
    Jul 2011
    Posts
    13
    Vote Rating
    0
    quasiobject is on a distinguished road

      0  

    Default +1

    +1


    Not working for me in 2.2.1

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