Bug: Action button wrong background when disabled
Problem description
When applying the
With table actions (
Expected behavior
The button opacity should be set to 70% with no background color change on hover.
Steps to reproduce
On any
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.
Solution
Fixed in this PR https://github.com/filamentphp/filament/pull/7905
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 ...
Fix for issue #7827.
This is a naive fix to the styling that adds classes containing :hover only when the button component ...