-
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
fix(button): improved tap responsiveness on mobile #1792
Conversation
Improves the tap responsiveness of buttons on mobile by replacing the `::after` overlay with a DOM node that prevents the default touch action. Previously, the `::after` overlay would capture the first tap, causing the button to have to tapped twice in order to fire it's click handler. Fixes angular#1316.
Renamed the overlay class and added a comment about the |
LGTM |
Which version will this fix be in? |
@jelbourn can you put this in a 10-1 release soon? Currently, you'd have to monkey-patch the old workaround on every component to get it to work properly on IOS. |
Is this really out? |
It should be in |
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. |
Improves the tap responsiveness of buttons on mobile by replacing the
::after
overlay with a DOM node that prevents the default touch action.Previously, the
::after
overlay would capture the first tap, causing the button to have to tapped twice in order to fire it's click handler.Fixes #1316.