question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I need to tap twice to trigger the event

See original GitHub issue

Ionic version: [x] 1.x [ ] 2.x [ ] 3.x

I’m submitting a … [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior: I need to tap twice(fast) to trigger the event(to open menu, any button in my screen, etc…).

Expected behavior: One tap to trigger the event.

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Cordova CLI: 6.4.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: Not installed
ios-sim version: Not installled
OS: macOS Sierra
Node Version: v7.9.0
Xcode version: Xcode 8.2.1 Build version 8C1002

It has the same behavior on emulator and device(iOS). On Android it’s working fine.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
WhatsThatItsPatcommented, May 15, 2017

@daveshirman re: your blog post, I don’t think suggesting tappable for ion-item is good advice.

Rather, those should be converted to <button ion-item>, while reserving tappable for out-of-the-ordinary use cases.


As the link to the Ionic docs that you mentioned in your blog post says:

In general, we recommend only adding (click) events to elements that are normally clickable. This includes “button” and “a” elements. This improves accessibility as a screen reader will be able to tell that the element is clickable.

So it seems suggesting tappable for ion-item would hurt accessibility, and the best choice would be to use buttons as your first choice.

1reaction
jgw96commented, May 15, 2017

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

PS: nice blog post @daveshirman !

Read more comments on GitHub >

github_iconTop Results From Across the Web

I need to tap twice to trigger the event · Issue #11616 - GitHub
Current behavior: I need to tap twice(fast) to trigger the event(to open menu, any button in my screen, etc...). Expected behavior: One tap...
Read more >
Why/when do I have to tap twice to trigger click on iOS
I'm looking at Mobile Safari on iOs 6.0. I can't seem to establish any rhyme or reason as to when tapping on an...
Read more >
Some buttons I have to tap twice to trigger the event - ionic-v3
Some buttons in my app require me to tap them twice to trigger the action. Has anyone else experienced this?
Read more >
Double tapping the back of your phone can now trigger an ...
Now Quinn and Tasker developer João Dias have integrated the ability to use the app (and the rear tap gesture) to trigger an...
Read more >
gesture_double_tap_time
This function is used to set the time it takes between two touches/clicks to trigger a Double Tap Gesture event. The time is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found