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

Remove the popover arrow from datagrid expanded cells #3832

Merged

Conversation

chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Jul 30, 2020

Summary

Fixes #3821

When expanding a datagrid cell, the popover's arrow was hidden due to some css rules around positioning/sizing the box. However, when the popover appears on top of the element instead of below it, the arrow's positioning put it inside the popover and increased it's scroll height. This change removes the arrow altogether.

I also fixed the schema example's initial sort column to point at a column that actually exists.

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
- [ ] Checked Code Sandbox works for the any docs 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

@kibanamachine
Copy link

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

Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

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

LGTM

Confirmed with the docs deployment that the container is no longer scrollable with "taller" content

CI failure will be resolved with a rerun after fixing the merge conflict.

@kibanamachine
Copy link

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

Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

LGTM

@thompsongl thompsongl merged commit f70bb3a into elastic:master Jul 30, 2020
@chandlerprall chandlerprall deleted the bug/3821-datagrid-expanded-cell-arrow branch July 31, 2020 16:56
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.

[Data Grid] Popover in in DataGrid overflowing with extra icons
4 participants