patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Truncate - True calculated middle truncate

Open gitdallas opened this issue 1 year ago • 0 comments

Currently, the Truncate component requires trailingNumChars when truncating in the middle. It would be helpful if the component were also able to automatically truncate to where the truncate would leave equal (+-1) characters on either side.

This came up in a slack conversation with Vince Consola and @christianvogt

gitdallas avatar Aug 28 '24 19:08 gitdallas