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

Add overflow to datagrid toolbar dropdowns #3238

Merged
merged 6 commits into from
Apr 3, 2020
Merged

Conversation

snide
Copy link
Contributor

@snide snide commented Apr 3, 2020

Summary

Fixes #3209

Adds an overflow to a couple of the popovers in Data Grid to fix instances where there are lots of columns.

image

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in IE11 and Firefox
  • Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@snide snide requested a review from chandlerprall April 3, 2020 05:32
@@ -9,7 +9,7 @@ No public interface changes since `22.3.0`.
- Improved `htmlIdGenerator` when supplying both `prefix` and `suffix` ([#3076](https://github.com/elastic/eui/pull/3076))
- Updated pagination prop descriptions for `EuiInMemoryTable` ([#3142](https://github.com/elastic/eui/pull/3142))
- Added `title` and `aria` attributes to `EuiToken`'s icon element ([#3195](https://github.com/elastic/eui/pull/3195))
- Added new Elasticsearch token types ([58036](https://github.com/elastic/kibana/issues/58036))
- Added new Elasticsearch token types ([#2758](https://github.com/elastic/eui/pull/2758))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Small CL fix unrelated to this PR.

@snide snide added the data grid label Apr 3, 2020
@kibanamachine
Copy link

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

@kibanamachine
Copy link

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

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

CL nit, but overall LGTM! 👍 Thanks for fixing the buttons too.

CHANGELOG.md Outdated Show resolved Hide resolved
@snide
Copy link
Contributor Author

snide commented Apr 3, 2020

Changes made. Merging on green. @peteharverson can you let us know whether you consider this fix necessary for a backport for 7.7?

@kibanamachine
Copy link

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

@snide snide merged commit 395f775 into elastic:master Apr 3, 2020
@snide snide deleted the bug/3209 branch April 3, 2020 20:15
@peteharverson
Copy link

Looks great. Thanks for getting in this fix @snide. I am happy to leave this for 7.8 - the current control in 7.7 is usable, just the UX is not that great when you have 100s of columns in the grid.

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.

EuiDataGrid column selection overflows document height with large number of fields
5 participants