This repository was archived by the owner on Sep 5, 2024. It is now read-only.
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
Closed
Description
- Go to http://codepen.io/anon/pen/MyPOad (md-tooltips added to the basic usage example)
- Click prompt dialog
- tooltip goes away
- Select "I'm a cat person"
- tooltip is back though mouse is not hovering
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.