-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Button tooltip comes back when dialog is canceled #8263
Comments
I think this might be an additional wrinkle on top of the problems discussed in this article: http://marcysutton.com/button-focus-hell/ |
I'm not actually seeing that problem in Chrome. What browser? |
Chrome 50. Trying to reproduce the error it looks like it doesn't happen every time. It looks like repeating and sometimes choosing the other button or hovering over another button to view the custom dialog helps. I'll work on a more deterministic example. I was able to get it to manifest after a few attempts though: |
@crisbeto - is this related to "tooltips get disconnected" issues? |
My bet is that it is, but I'll double check. |
Tried it out, it's a different issue. |
Re-opening and putting in the backlog since @devversion has a pending PR that should help with this (see #7965). |
This issue is closed as part of our ‘Surge Focus on Material 2' efforts. |
The problem, I think, is that after the dialog closes it sets the focus back to the button, which causes the tooltip to activate. I expect the button to have the focus after the dialog closes only if the user was using the keyboard to navigate, not if they clicked on the button with a mouse.
The text was updated successfully, but these errors were encountered: