-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove base TableHeader from sort styles #882
Conversation
Preview branch generated at https://fix--table-header-css.d1gko6en628vir.amplifyapp.com |
This reverts the change that was causing the table header to use `--table-header-sorting-background-color` by default even when the table header wasn't sorted.
732b4d8
to
9788451
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
IIRC the issue I attempted to fix was the background color wasn’t being applied to the selected header on the initial render. May need to circle back after this lands to fix that issue (since we don’t have a way to test it here). |
Is this something that happens in one of your apps? We could make a new issue for it. |
Preview branch generated at https://fix--table-header-css.d1gko6en628vir.amplifyapp.com |
Yes, in a few places. #883 |
This PR fixes a bug that was causing the table header to use
--table-header-sorting-background-color
by default even when the table header wasn't sorted.UXPin - Tables

Screenshot from UXPin Light Theme
Screenshot from UXPin Dark Theme

This change is fixing a breaking change in 5.0.0. Would that mean that the version bumps to 5.0.1?
Verification steps
Reproduce the bug
--table-header-sorting-background-color
by default for the light and dark themeVerify the fix
--table-header-background-color
for the light and dark theme