You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Button tooltip comes back when dialog is canceled #8263
P4: minorMinor issues. May not be fixed without community contributions.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community
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.
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:
P4: minorMinor issues. May not be fixed without community contributions.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community
Activity
lelanophilus-zz commentedon Apr 28, 2016
I think this might be an additional wrinkle on top of the problems discussed in this article: http://marcysutton.com/button-focus-hell/
marcysutton commentedon Apr 28, 2016
I'm not actually seeing that problem in Chrome. What browser?
lelanophilus-zz commentedon Apr 28, 2016
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:
http://i.imgur.com/RqYIS3B.gif
ThomasBurleson commentedon Apr 29, 2016
@crisbeto - is this related to "tooltips get disconnected" issues?
crisbeto commentedon Apr 29, 2016
My bet is that it is, but I'll double check.
crisbeto commentedon Apr 29, 2016
Tried it out, it's a different issue.
crisbeto commentedon May 24, 2016
Re-opening and putting in the backlog since @devversion has a pending PR that should help with this (see #7965).
ThomasBurleson commentedon Jun 2, 2016
This issue is closed as part of our ‘Surge Focus on Material 2' efforts.
For details, see our forum posting @ http://bit.ly/1UhZyWs.