-
Notifications
You must be signed in to change notification settings - Fork 842
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 datagrid not fitting into containers #3894
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_3894/ |
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; confirmed with the docs deployment that the "Data grid adapts to its container" example is as it should be.
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3894/ |
:grumble: jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3894/ |
@snide @thompsongl curious, how would implementing Emotion affect this? Can we ask it to generate classnames? |
Yes, it forces it through the css prop, which generates the selector without using className directly. |
* Fix datagrid not fitting into containers * cl
Summary
Fixes #3878
Related to theKashey/react-focus-on#47 , our focus trap solution didn't accept
style
props. Regardless, it acceptsclassName
and we should use that instead.Checklist
[ ] Check against all themes for compatibility in both light and dark modes[ ] Props have proper autodocs[ ] Checked Code Sandbox works for the any docs examples[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes