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

Bug - Truncate - tooltip also shows when there is no actual truncation

Open mvollmer opened this issue 1 year ago • 2 comments
trafficstars

The Truncate component always has a active tooltip for its content, even when there is no actual need for truncation:

image

Such a tooltip doesn't contribute anything to the user experience, but is an annoyance especially if there are many of them.

It would be great if Truncate would only have a tooltip when truncation does actually take place.

Alternatively, as a lesser alternative, a property would be welcome that allows the programmer to disable the tooltip completely.

mvollmer avatar Jan 29 '24 11:01 mvollmer

cc @andrew-ronaldson @mmenestr

tlabaj avatar Feb 08 '24 15:02 tlabaj

If the full text is visible then it can be an unnecessary distraction to have tooltip flashing up so I think we can address this.

andrew-ronaldson avatar Feb 08 '24 18:02 andrew-ronaldson