Bug: Action button wrong background when disabled

Problem description
When applying the ->disabled() function to one of the default Actions or a custom CreateAction the resulting button cannot be clicked and does not trigger the pointer cursor as expected, but it still present the default attributes. In fact, the opacity stays full and when hovering the background color still changes.
With table actions (Tables\Actions\) this behavior is working correctly as shown in the image.
Expected behavior
The button opacity should be set to 70% with no background color change on hover.
Steps to reproduce
On any ListRecords page add ->disabled() to the default CreateAction.
261156981-01717228-b86c-4494-8b0f-8664dc11ea0f.png
Solution
GitHub
Changes have been thoroughly tested to not break existing functionality.

Fix for issue #7827.
This is a naive fix to the styling that adds classes containing :hover only when the button component ...
Was this page helpful?