-
Notifications
You must be signed in to change notification settings - Fork 3.4k
autocomplete: clear button does not work in iOS Safari #9764
Comments
Here is a counterexample (source) where it does work in iOS. I'm not sure what the difference is. (EDIT: fixed link) |
@donmccurdy Thanks. I can reproduce this and I assume this relates to the $mdGesture service. Probably disabling click hijacking should be a workaround $mdGestureProvider.skipClickHijack(); |
@devversion thanks, that sounds likely enough but i'm not seeing any effect in my (internal) app, and am not sure how to test the official site's demo. My codepen and gist demos aren't reproducing the issue at all. 😐 |
@donmccurdy Just tried it out as well. I can confirm the gesture do not cause the issue. |
https://codepen.io/behzadbananmokhtari/pen/PmzyXO |
Related to the previous comment, PR #11625 has been posted which should fix #9581. However, as far as the clear button not working, I am not able to reproduce this on iOS |
Actual Behavior:
What is the issue? *
Clicking the mdAutocomplete x in Mobile Safari has no effect.
What is the expected behavior?
Input contents should be cleared.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
https://material.angularjs.org/latest/demo/autocompleteDetails:
The x button works correctly in Chrome on Android, but has no effect in Safari on iOS.Angular Versions: *
Angular Version:
1.5.5Angular Material Version:
1.1.1Additional Information:
Browser Type: *
SafariBrowser Version: *
?OS: *
iOS 10.0.2Device:
iPhone 6, iPhone 6SStack Traces:
Shortcut to create a new CodePen Demo.
Note:
*
indicates required information. Without this information, your issue may be auto-closed.The text was updated successfully, but these errors were encountered: