You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiDataGrid] Having a EuiFlexGroup in the trailingControlColumns causes the table to endlessly resize horizontally #4160
I did not want a row's actions to be in multiple columns or be hidden with a popover so I thought putting them in a FlexGroup was logical. Turns out, once the page loads, the table starts to infinitely resize horizontally, getting bigger and bigger...
I only used the FlexGroup to make the buttons inline, I'll look at using a button group next, but thought I should still report this.
As with anything that inherits flex containers, wrapping it with a <div> normally solves the problem.
I did not want a row's actions to be in multiple columns or be hidden with a popover
It's extremely hard to maintain interoperability of components in large magical / high order components like data grid. The guidelines and default settings are there to provide some design decisions to maintain a stable default we know works. Within Elastic at least we also use them to maintain a level of consistentcy between our apps.
I bring this up because it's not likely something we'd change and that limitation is by design.
Activity
j-m commentedon Oct 20, 2020
Whoops, simply increasing the width makes them horizontal. Still, this is a strange bug
chandlerprall commentedon Oct 20, 2020
@sulemanof this sounds like what you ran into, what was your fix?
snide commentedon Oct 20, 2020
As with anything that inherits flex containers, wrapping it with a
<div>normally solves the problem.It's extremely hard to maintain interoperability of components in large magical / high order components like data grid. The guidelines and default settings are there to provide some design decisions to maintain a stable default we know works. Within Elastic at least we also use them to maintain a level of consistentcy between our apps.
I bring this up because it's not likely something we'd change and that limitation is by design.
j-m commentedon Oct 21, 2020
Ah okay, makes sense, thank you for explaining the reasoning. As it's by design, I'll close this issue