-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long delay (2-3 seconds) till ion-card click-handler reacts to taps #5838
Comments
Update: other elements like simple divs are affected too. |
I had the same problem, the 300ms delay is getting added only on buttons. So even if you make source: http://ionicframework.com/docs/v2/api/components/item/Item/ |
Thanks for your response. I'll continue with your workaround for now. But I'm still not sure if my issue is associated with the 300ms delay. As I mentioned, it only occurs shortly after any page transition. Seems like a bug... a iOS-only bug. Update: My suggestion for a future release: add |
I can report this is also happening on iOS for me as well, not on android or web. Just some additional points that I'm noticing on my issue. I've noticed that the page i'm pushing into view, actually shows on the side of the view for a second and sits there for a second before transitioning into view. This is causing additional delay, it's only happening on iOS. It could be a transition issue as well. Please see zoomed image below. https://drive.google.com/open?id=0BzsOvFFIePyeSWxiZ2VtYWpCSmM Anyone know how I can stop the page from caching so I can test if that is the issue? |
@agrt56 would you mind posting what your |
@jgw96 |
Should also add this information to the docs. I spent a few days looking for ways to get rid of the 300ms delay. |
Yes an element that is not clickable by default, such as ion-card or a div, needs to have the tappable attribute added. Buttons and links do not have this problem. This is also only a problem for iOS because Android automatically removes the 300ms delay. (Yes in iOS 9.3 it's removed too, but that's only in WKWebView and not UIWebView, which is what Cordova uses for the time being). We'll work to document this all better, thanks. |
I have the same issue with the Ionic2 Final. Not only on the side menu, but also on cards and the back button. Always after a screen transition taps / clicks are not recognised for a second or so. Has anybody found a solution? I have tried tappable and I tried tap and click (which both do not fire). On Android no problem, just iOS.
UPDATE: I "fixed" this issue by using android transitions:
So the problem seems to be the iOS transition. |
Hello any update on this? |
No. For me the only "solution" is the combination of using "tappable" and MD transitions. |
@adamdbradley can you comment on @chris08002 statement that having tappable + MD transition fixes this? May it be an issue with iOS transition code? |
Hello, any progress on this issue? I can confirm that this issue also exists in the latest For example the following button's are not working for the mentioned duration: The same issue exists on buttons in the navbar:
I can also confirm the the suggested workaround is working:
But for IOS user this solution is not ideal. |
This issue is still there and the above given workarounds does not work. Tested in latest ionic version for android. |
I also have a delay on button clicks on older Android devices. |
I also had the enoying problem with the delay after transitions on ios and solved it by setting the animation values directly. Please see the solution at That along with using 'tappable' (if it is not a button in which case the click delay is already handled by ionic) will make the app feel much better. |
hi, i tried the page transaction solution but this doenst to work on ios os 9.3.5 can anyone help. the scroll is also getting delayed and scroll after 2-3 seconds :( |
I have come across the same issue. iOS taps would not be recognized 1-2 seconds after I switched to new page (somehow I do not see transitions on iOS at all?) The suggested solution |
So can I add that if you add the "tappable" attribute to the card it works but with a div inside the card then although tapping on the card is quick, tapping on the div inside the card still creates the 2 second delay. Is there any way around this? |
push('page', parameter, {duration:0}) |
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. |
Short description of the problem:
After a page transition (using side menu or navigation) a clickable ion-card don't react to taps/clicks for 1-3 seconds in mobile Safari (iOS 9.x).
Other information:
This issue don't occur on other browsers. No javascript exceptions are thrown.
Which Ionic Version?
Ionic 2.0 beta 3
Run
ionic info
from terminal/cmd prompt:Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
OS:
Node Version: v5.8.0
The text was updated successfully, but these errors were encountered: