8000 Bug - TableText - regression - PF6 TableText wrapModifier="truncate" is broken · Issue #11314 · patternfly/patternfly-react · GitHub
[go: up one dir, main page]

Skip to content

Bug - TableText - regression - PF6 TableText wrapModifier="truncate" is broken #11314

@christianvogt

Description

@christianvogt

Describe the problem
Regression in PF6 TableText wrapModifier="truncate" not working as expected and truncating text when sufficient space exists.

How do you reproduce the problem?
Go to https://www.patternfly.org/components/table
Modify the first example to render the name with truncation using TableText:
<Td dataLabel={columnNames.name}><TableText wrapModifier="truncate">{repo.name}</TableText></Td>
Observe all values are truncated when sufficient space exists.

Expected behavior
Truncations with TableText wrapModifier="truncate" should work the same in PF6 as PF6

Is this issue blocking you?
Yes

Workaround? Possibly with Truncate or otherwise to not truncate with TableText

Screenshots
If applicable, add screenshots to help explain the issue.
PF6
Image

PF5
Image

What is your environment?

  • OS: macos
  • Browser chrome
  • Version 131.0.6778.86

What is your product and what release date are you targeting?
RHOAI 2.17

Any other information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0