-
Notifications
You must be signed in to change notification settings - Fork 861
[EuiDataGrid] Fix full screen display bug #5369
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
Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5369/ |
- unfortunately this requires passing headerRowHeight via prop instead of via context, since useContext in a shallow rendering scenario is super difficult to mock - not the worst thing in the world since we're already passing so many props
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5369/ |
|
I was curious why the cell_offset_parent_fullscreen.movLooks like the |
|
Whoa! TIL that
Just to clarify, this doesn't exist anymore because we switched to virtualized rendering - is that correct? |
- should no longer be necessary now that virtualization is being used, and was creating top positioning issues
|
@chandlerprall Superior fix has been pushed up :) |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5369/ |
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.
LGTM! Tested locally & in the published docs; don't forget a changelog! changelog not necessary because the bug didn't get released
Just to clarify, this doesn't exist anymore because we switched to virtualized rendering - is that correct?
I don't remember enough of the context from when the performance issue was discovered, but I believe the lag was from a combination of the cell-hover performance problems (#5136 + #5163) plus the non-virtualized grid having significant re-layouts.
Summary
Before
After
Checklist
- [ ] Props have proper autodocs and playground toggles- [ ] Added documentation- [ ] Checked Code Sandbox works for any docs examples- Added or updated jest and cypress tests- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes- [ ] A changelog entry exists and is marked appropriatelySkipping changelog entry since this bug was caused in recent main and should not have hit an actual release