Skip to content

Commit

Permalink
fix: treepicker ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
devharris7 committed May 19, 2021
1 parent 2835c9d commit ad26f0f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/TreePicker/Node/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,17 @@ class TreePickerNodeComponent extends React.PureComponent {
</GridCell>
) : null}
<GridCell stretch {...labelCellProps} dts="label">
<TextEllipsis>
<TextEllipsis
popoverProps={{
strategy: 'fixed',
placement: 'bottom',
modifiers: [
{ name: 'flip', enabled: false },
{ name: 'preventOverflow', enabled: false },
{ name: 'hide', enabled: false },
],
}}
>
<span>{nodeRenderer(node)}</span>
{!_.isEmpty(pathElement) ? (
<span className={`${baseClass}-metadata`}>
Expand Down

0 comments on commit ad26f0f

Please sign in to comment.