-
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
matTooltip triggers on focus capture since 2.0.0-beta.11 #7245
Labels
Accessibility
This issue is related to accessibility (a11y)
Comments
crisbeto
added
Accessibility
This issue is related to accessibility (a11y)
has pr
labels
Sep 22, 2017
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Sep 22, 2017
Prevents the tooltip from opening when its trigger is focused programmatically. Fixes angular#7245.
Same issue when reproduced from a dialog: http://plnkr.co/edit/HBaHnOcg1SPQcEvY684f?p=preview |
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Oct 6, 2017
Prevents the tooltip from opening when its trigger is focused programmatically. Fixes angular#7245.
andrewseguin
pushed a commit
that referenced
this issue
Oct 9, 2017
Prevents the tooltip from opening when its trigger is focused programmatically. Fixes #7245.
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug?
What is the expected behavior?
2.0.0-beta.10 didn't trigger tooltips on focus capture, e. g. by getting focus after closing a
dialog
or after closing asidenav
.What is the current behavior?
2.0.0-beta.11 triggers tooltips on focus capture. Perhaps this is intended when using the keyboard to focus elements with tooltips, but in my case this is not intended.
Maybe provide a way to disable triggering tooltips on focus capture?
What are the steps to reproduce?
http://plnkr.co/edit/5O7j6Mt033VyDEbC05ai?p=preview
Open the
sidenav
, then press close. Watch the tooltip reappear.It will stay until something else catches focus or the button gets hovered.
What is the use-case or motivation for changing an existing behavior?
I want the behavior of 2.0.0-beta.10 back.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 2.0.0-beta.11 and 2.0.0-beta.12
Chrome 61 / Firefox 55
The text was updated successfully, but these errors were encountered: