Results 1 to 4 of 4

Thread: Reduce delay of itemsingletap on xtype:list

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    15

    Default Answered: Reduce delay of itemsingletap on xtype:list

    Hi

    Is there a way to reduce the delay when pressing on a listitem on a list?
    This will fire the event: itemsingletap
    The problem is, that if the user clicks more than one time, it will fire the event more than once and its a little annoying to wait when i pressed.

    Thx in advance

    Chears neutron

  2. Currently it waits 300ms. YOu can change this with the maxDuration config of the Ext.event.recognizer.DoubleTap class. This is configurable from Ext.application: http://docs.sencha.com/touch/2-0/#!/...od-application Look at the eventPublishers example in Ext.application.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    Currently it waits 300ms. YOu can change this with the maxDuration config of the Ext.event.recognizer.DoubleTap class. This is configurable from Ext.application: http://docs.sencha.com/touch/2-0/#!/...od-application Look at the eventPublishers example in Ext.application.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    15

    Default

    Thx, I will give it a try

  5. #4
    Sencha User
    Join Date
    Nov 2013
    Posts
    82
    Answers
    1

    Default

    a quite complete list of recognizers config should be (just my 2 cents):
    Code:
    eventPublishers : {
            touchGesture : {
                recognizers : {
                    tap : null,
                    doubleTap : null,
                    drag : null,
                    edgeSwipe : null,
                    longPress : null,
                    pinch : null,
                    rotate : null,
                    swipe : null
                }
            }
        }
        }

Tags for this Thread

Posting Permissions

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