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

[EuiDataGrid] Fix cell props not resetting on column sort #5665

Merged
merged 6 commits into from
Mar 1, 2022

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Feb 28, 2022

Summary

closes #5583

I previously solved cell props not resetting for columns moving/re-ordering (#5068), but not for columns being sorted.

Before

before

After

after

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in Chrome, Safari, Edge, and Firefox
- [ ] Props have proper autodocs and playground toggles
- [ ] Added documentation
- [ ] Checked Code Sandbox works for any docs examples

- [ ] Checked for breaking changes and labeled appropriately
- [ ] Checked for accessibility including keyboard-only and screenreader modes

  • A changelog entry exists and is marked appropriately

@cee-chen cee-chen marked this pull request as ready for review February 28, 2022 18:19
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5665/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5665/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

Change LGTM; tested in the PR preview & pulled the branch down to verify the unit test would catch a regression

@cee-chen cee-chen enabled auto-merge (squash) March 1, 2022 18:58
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5665/

@cee-chen cee-chen merged commit 334df0e into elastic:main Mar 1, 2022
@cee-chen cee-chen deleted the datagrid/set-cell-props branch March 1, 2022 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EuiDataGrid] Cell style sticks to position when sorting
3 participants