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

Closed
christianvogt opened this issue Dec 4, 2024 · 1 comment

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?

@tlabaj
Copy link
Contributor

tlabaj commented Dec 19, 2024

This should be fixed in 6.1. closed by patternfly/patternfly#7175

@tlabaj tlabaj closed this as completed Dec 19, 2024
@github-project-automation github-project-automation bot moved this from Needs triage to Done in PatternFly Issues Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants