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 has been archived by the owner on Sep 5, 2024. It is now read-only.
I believe expected behaviour is that when the cursor hovers over the button it displays a background colour of rgba(158,158,158,0.2). When the mouse leaves the button it returns to transparent.
What is actually happening is that the button background remains transparent when the cursor hovers over the button, and then adds the rgba(158,158,158,0.2) when the mouse leaves the button.
Observing what classes are being added, when the mouse hovers, the following styles are added...
Checking the classes added to the button, md-focussed is indeed added to the button when the mouse hovers over the button, but is not removed when the mouse is no longer hovering.
The text was updated successfully, but these errors were encountered:
hodeyp
changed the title
md-button md-focussed bug
md-button md-focused bug
Aug 26, 2015
md-button was retaining focus on mouseleave, this was especially visible on buttons with tooltips that get focused on hover (see angular#4249).
Fixesangular#4249angular#4329
I have an md-button with the following structure...
I believe expected behaviour is that when the cursor hovers over the button it displays a background colour of
rgba(158,158,158,0.2)
. When the mouse leaves the button it returns to transparent.What is actually happening is that the button background remains transparent when the cursor hovers over the button, and then adds the
rgba(158,158,158,0.2)
when the mouse leaves the button.Observing what classes are being added, when the mouse hovers, the following styles are added...
The first of these entries looks to be wrong to me as it is overriding the second item.
When the mouse is no longer hovering, the following style is applied....
Checking the classes added to the button, md-focussed is indeed added to the button when the mouse hovers over the button, but is not removed when the mouse is no longer hovering.
The text was updated successfully, but these errors were encountered: