Results 1 to 5 of 5

Thread: Indexbar behavior change from Sencha Touch 2.0 to 2.2

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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 Premium Member
    Join Date
    Aug 2007
    Posts
    17
    Vote Rating
    1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

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

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2007
    Posts
    17
    Vote Rating
    1
      0  

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

    Default 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
    11
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •