ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Document the tappable attribute

Open adamdbradley opened this issue 10 years ago • 5 comments

In general we recommend always using a button or anchor element when it's clickable. Otherwise you'll need to add the tappable attribute to remove the 300ms delay on iOS, when clicking a non-clickable element like a <p> or <div>.

adamdbradley avatar Apr 11 '16 02:04 adamdbradley

Is this also required for when making things like <ion-item> clickable?

dylanvdmerwe avatar Apr 11 '16 07:04 dylanvdmerwe

@dylanvdmerwe I personnaly did, cause if you add tappable on <ion-item>, you will get the correct tap animation on it (like ripple effect on Android for example)

thiphariel avatar Apr 11 '16 12:04 thiphariel

This was fixed by my above PR. (:

jgw96 avatar Apr 19 '16 20:04 jgw96

there is some change since this documentation update ? there is some weird behaviour with tappable attribute ... (double click needed, lag etc.)

quentinchap avatar Feb 09 '17 16:02 quentinchap

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 04 '18 03:09 ionitron-bot[bot]