Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    18
    Vote Rating
    0
    wdonne is on a distinguished road

      0  

    Default Tap delay on list items and erroneous firing of event for double tap (1.0.1a)

    Tap delay on list items and erroneous firing of event for double tap (1.0.1a)


    Hi,

    I have a list in a panel that is configured as follows:

    {
    disableSelection: true,
    itemTpl:
    '<table class="library-item"><tr><td><img src="{icon}"/></td>' +
    '<td>{title}</td></tr></table>',
    onItemDisclosure: true,
    store: libraries,
    xtype: 'list',
    listeners:
    {
    disclose: {fn: editLibrary},
    itemtap: {fn: openLibrary}
    }
    }

    When tapping an item or a disclosure button there is a long delay before the event actually fires. Doing a double tap fires it immediately, while it shouldn't fire at all. This indicates there may be something wrong with the double tap detection logic.

    This happens on iPhone and iPad. In Safari on the desktop there is no such problem with click events.

    Best regards,

    Werner Donné.

  2. #2
    Sencha User
    Join Date
    Feb 2011
    Posts
    18
    Vote Rating
    0
    wdonne is on a distinguished road

      0  

    Default


    The delay seems to occur when the contents of the main panel is changed like when switching cards in a card layout panel. If you just display an alert in the event handler then there is no delay.

    When the delay occurs it is variable in duration.

  3. #3
    Sencha User
    Join Date
    May 2007
    Location
    Germany
    Posts
    18
    Vote Rating
    0
    ralf is on a distinguished road

      0  

    Default


    I also experienced a long dealy/need to click more than once in a comparable situation.
    I could "solve" it by adding a stupid timeout:

    Code:
                		
    onItemDisclosure: function (record, node, idx ) {
      setTimeout(function(){Ext.dispatch({controller:'myctrl',action:'myaction'}); },50);
    }
    Worked for me.

  4. #4
    Sencha User
    Join Date
    Feb 2011
    Posts
    18
    Vote Rating
    0
    wdonne is on a distinguished road

      0  

    Default


    Thanks for the tip Ralf!

    Werner.

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    11
    Vote Rating
    0
    dreamdu5t is on a distinguished road

      0  

    Default


    I'm also experiencing this issue. It happens when calling Ext.dispatch() from the tap event bound to a list item.

    What is causing this delay?

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Posts
    11
    Vote Rating
    0
    dreamdu5t is on a distinguished road

      0  

    Default


    I found the cause of the delay:

    The "pressedDelay" config option for list components defaults to 100ms. Set it to 1 to avoid the delay.

    Sencha Devs: This should really default to 0, it's counter-intuitive to add a delay by default.

    So:
    Code:
    var list = new Ext.List({
      store: app.store.people,
      pressedDelay: 1,
      onItemTap: function (list, index, item, e) {
        var record = this.store.getAt(index);
        Ext.dispatch({
             controller: app.controllers.people,
             action: 'detail',
             id: record.getId()
          });
        }
    });

Similar Threads

  1. Replies: 0
    Last Post: 3 Dec 2010, 7:06 AM
  2. How to delay an Enter Key event [SOLVED]
    By Sloger in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 5 Jun 2010, 6:57 AM
  3. Selection event of combobox items list
    By onGoing in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 29 May 2009, 6:07 AM
  4. Delay on checkbox event
    By doktoreas in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Apr 2008, 8:56 AM
  5. Checkbox onClick event delay
    By Rocketman in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 26 Jan 2008, 1:26 AM

Thread Participants: 2

Tags for this Thread