Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christianvogt opened this issue Dec 4, 2024 · 0 comments

Comments

@christianvogt
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant