-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(tooltip): tooltip sample not working with keyboard navigation. #15111
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
Conversation
I think a more appropriate behavior here would be to show the tooltip on |
e8a74bb
to
c77fd22
Compare
@jelbourn Thank you for the feedback. |
@jelbourn @MartinKamenov Hooking the API call on If the tooltip was for the button that triggers it, then |
@kdinev ah, I think you're right. I did not originally look at how this example actually worked. It should in fact just be a
|
@jelbourn I'm thinking about how this would behave and it seems to me that having both How about remove the |
Agreed, we should just remove the |
9cf5406
to
c77fd22
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
<button mat-button | ||
(mouseenter)="tooltip.show()" | ||
(click)="tooltip.show()" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the new behavior, I think the aria-label
attributes should be updated to just say, e.g.
"Show tooltip on the button at the end of this section"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Could you squash the commits in the PR? The googlebot always flags PRs with multiple authors.
42c2f1b
to
ceffe92
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
ceffe92
to
a99e601
Compare
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. |
Tooltip showing/hiding in sample when buttons are focused.
Fixes: #15044