-
Notifications
You must be signed in to change notification settings - Fork 122
material-button unresponsive on iOS #335
Comments
I don't see this problem on iOS. Do you have a reproduction? |
I spoke too soon, the issue was I was using changeDetection.OnPush on an ancestor, closing |
I am facing same problem, I need to tap twice to call trigger on
iOS version: 11.3.1 (15E302), also have reproduced at 12.1 (16B92) Here is same issue in angular/material2: angular/components#1316 UPD. Also reproduced on iPhone XS Currently I am using workaround. I am disabling hover css, for iOS, for every button:
|
The issue is with the hover state - This is my workaround: ::ng-deep material-button, ::ng-deep tab-button, ::ng-deep material-fab {
&:after {
display:none !important;
}
} |
…ver for all touchscreens (only apply hover for media supporting hover). Note: Firefox 63 (Currently used for web testing) does not support media hover. Yet the last two major versions do (64,65) so changing the screenshots for now, but spot checked it does work in Firefox. Closes #335, #371 PiperOrigin-RevId: 237347903
Material-button has to be tapped twice before a trigger event is fired.
Device: iPhone X
Browser: Safari
The text was updated successfully, but these errors were encountered: