If you use a custom style for the header, the hover style should go away after you click to expand a panel and mouse away.
After expanding the original style returns
When you mouse over the header to expand, the hover style is applied. When you expand and mouse away it stays until you click something else or perform some other sort of action on the page.
https://stackblitz.com/edit/angular-ojcyga
Maybe this is not how you are intended to override the default style. If so I'm not sure how that might be made more clear.
I found a simple workaround by setting the header background colors to !important
.header {
background-color: #e4e1df !important;
}
.header:hover {
background-color: #ffcb05 !important;
}
Closing since this is an issue with the custom styling, rather than Material.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I found a simple workaround by setting the header background colors to
!important