Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4493 in Touch 2.3.0-b3 (36).
  1. #1
    Sencha User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    composer47 is on a distinguished road

      0  

    Default Indexbar behavior change from Sencha Touch 2.0 to 2.2

    Indexbar behavior change from Sencha Touch 2.0 to 2.2


    In Sencha Touch 2.0, the indexbar was tapable; the user could tap a letter on the right side of a list, and the list would jump there. See example here:

    http://try.sencha.com/touch/2.0.0/de...List.indexBar/

    This no longer happens in 2.2. Tapping a letter in the indexbar does nothing. The user instead has to tap and drag down the indexbar, which is an odd behavior.

    http://try.sencha.com/touch/2.2.0/de...List.indexBar/

    How do we bring back the original functionality?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,823
    Vote Rating
    836
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    composer47 is on a distinguished road

      0  

    Default Work-around

    Work-around


    Here is the fix..

    Code:
    Ext.define('App.IndexBar', {
        override: 'Ext.dataview.IndexBar',
    
        initialize: function() {
            this.callParent();
    
            this.innerElement.on({
                touchstart: this.onDragStart,
                touchend: this.onDragEnd,
                dragstart: this.onDragStart,            
                dragend: this.onDragEnd,
                drag: this.onDrag,
                scope: this
            });
        }
    });

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    5
    Vote Rating
    0
    find101 is on a distinguished road

      0  

    Default where to put the code in sencha architect

    where to put the code in sencha architect


    Hi
    I am using sencha architect; where should I put this code to fix the problem?
    thanks

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    This has been fixed for the next release. Thanks for the report