Results 1 to 5 of 5

Thread: itemtap allows double-click

  1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default itemtap allows double-click

    I'm having trouble defining a single click on an item in a list.
    I have used the event itemsingletap that solves my problem but the event takes longer to run than the itemtap.
    I would use the itemtap with the same result as the itemsingletap.
    Does anyone know how I can do this?

  2. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,021
    Vote Rating
    1364
      0  

    Default

    The reason itemsingletap has a little delay is it works in conjunction with itemdoubletap. The delay is there to know if there is a doubletap or not so that only one of the events will fire.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

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

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    But I will like use itemtap as itemsingletap, I don't want a little delay. It's possible?

  4. #4
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,021
    Vote Rating
    1364
      0  

    Default

    Quote Originally Posted by sandroferraz1986 View Post
    But I will like use itemtap as itemsingletap, I don't want a little delay. It's possible?
    No, you would need to use itemtap then but this will fire for every tap even if it is a double tap.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

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

  5. #5
    Sencha User Kikketer's Avatar
    Join Date
    Apr 2012
    Location
    Wausau, WI
    Posts
    135
    Vote Rating
    10
      0  

    Default

    As of Chrome 32 and I believe Safari have removed the 300ms delay between a tap and a click. They finally realized that double clicking is a rare form of interaction on the phone.

    Please update Sencha to remove or add a special flag to enable double taps. The delay is unacceptable.

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
  •