Skip to content
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(DataTable): retain active state when sort is active #6524

Merged
merged 5 commits into from
Jul 23, 2020

Conversation

tw15egan
Copy link
Collaborator

Refs #6067

Adds background to Data Table headers that are actively sorting.

Changelog

New

  • .bx--table-sort--active now has a background of $data-table-column-hover

Testing / Reviewing

Ensure active sort headers retain a background color when a column is sorted and focus moves away

@tw15egan
Copy link
Collaborator Author

@aagonzales wasn't sure if there was a different token we wanted to use here instead

@netlify
Copy link

netlify bot commented Jul 22, 2020

Deploy preview for carbon-elements ready!

Built with commit d3dd4db

https://deploy-preview-6524--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jul 22, 2020

Deploy preview for carbon-elements ready!

Built with commit be68f60

https://deploy-preview-6524--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jul 22, 2020

Deploy preview for carbon-components-react ready!

Built with commit d3dd4db

https://deploy-preview-6524--carbon-components-react.netlify.app

@aagonzales
Copy link
Member

@tw15egan I think that's fine for now. Data table goes into a layering of colors that we didn't expect originally. We can hopefully resolve this to a better token in the future token work.

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The background color looks good. The icon is doing something weird though. (Though it looks like this is happening in the normal dev environment too, so I'll go ahead and approve).

image

@netlify
Copy link

netlify bot commented Jul 22, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit be68f60

https://deploy-preview-6524--carbon-components-react.netlify.app

@kodiakhq kodiakhq bot merged commit 7af9a2b into carbon-design-system:master Jul 23, 2020
@tw15egan tw15egan deleted the data-table-srt branch April 28, 2021 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants