Repository navigation
Allow table row cell overflow - #26
Conversation
|
@cjcenizal is the overflow the only reason you had those spans in there? I know we'd talked about this stuff before, and I can't remember if they were required in all use cases. |
| children, | ||
| className, | ||
| wrapText, | ||
| allowOverflow, |
There was a problem hiding this comment.
Can we add this to the propTypes definition? And can we add an example to the doc site?
66691a6 to
93e290a
Compare
|
@cjcenizal @snide this is up for review |
snide
left a comment
There was a problem hiding this comment.
Dunno if I'm reading the code correctly. Left a comment.
| if (column.isCheckbox) { | ||
| return ( | ||
| <EuiTableRowCellCheckbox key={column.id}> | ||
| <EuiTableRowCellCheckbox key={column.id} allowOverflow={ true }> |
There was a problem hiding this comment.
I don't think this is the example you were looking to show? As I understand from the issue #2 you basically just wanted a prop to not include the text wrapper span sometimes in your table usage.
I guess it's fine using it on the checkbox (it doesn't have text content), but allowOverflow probably seems weirdly named here, since checkboxes aren't actually allowing overflow? In this case isn't it more containsText={false}?
Sorry, dunno if I'm reading the code / docs you have set up correctly.
There was a problem hiding this comment.
Maybe rename to textOnly?
There was a problem hiding this comment.
@bevacqua Yeah. That conveys the meaning better i think. Sounds good.
…downs `EuiDualRange` thumb position on resize
Fixes #2