-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
On IOS Safari, md-button needs to click twice #1847
Comments
Have you tried the solution from #1792? |
First, I have updated the version to @angular/material": "^2.0.0-alpha.10 However, the problem is still exist. It looks like the issue ONLY exists on md-button but not on md-raised-button. |
I'll give it another look. Regarding this:
If you comment out this line, does the |
Could you post a simplified example @johnqiuwan? I've been trying this out locally against the Click counter: {{ clickCounter }}
<button md-button (click)="clickCounter=clickCounter+1" color="primary">Click</button>
<button md-raised-button (click)="clickCounter=clickCounter+1" color="primary">Click</button> |
Hi @crisbeto,
Only on ios, the "click" not been caught on the first click but on the second click. If I use md-raised-button instead of md-button, the problem is gone. In addition, it has no issue on Android and Web. |
Hmm, I hadn't tried with a link, I was only testing with |
I just enable / disable the :hover on the .banner-button class. However, it is not working on both cases on ios. No matter the .banner-button class has a :hover or not. |
I see, I'll try it out with links later. |
Still works fine @johnqiuwan, I used the exact same HTML. It might be better to revisit this once the fix in master has been released. |
@johnqiuwan alpha.11 was released with the fix for this. Can you give it another shot? |
It's been a while since the last response and it has been 2 releases since the fix for this was released. I'll close the issue, but it can always be re-opened if it's still a problem. |
Sorry for the late reply. I have confirmed that the alpha.11 fixes the bug Thank you for your great work : ) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
dup #1792
The text was updated successfully, but these errors were encountered: