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 - [Truncate] - middle truncate renders wrong in some cases #10858

Open
Gkrumbach07 opened this issue Aug 14, 2024 · 1 comment · May be fixed by #11417
Open

Bug - [Truncate] - middle truncate renders wrong in some cases #10858

Gkrumbach07 opened this issue Aug 14, 2024 · 1 comment · May be fixed by #11417
Assignees
Milestone

Comments

@Gkrumbach07
Copy link

Describe the problem
When you truncate with a certain number of trailing chars using the middle variant, it has this strange effect where chars are duplicated.

How do you reproduce the problem?
https://codesandbox.io/p/sandbox/withered-haze-ry5nk4

Expected behavior
It should not be truncating if number of chars is less than the trailing chars param

Is this issue blocking you?
remove the trailing char param

Screenshots
Screenshot 2024-08-14 at 11 28 52 AM

What is your environment?

  • OS: mac
  • Browser chrome
  • Version 127

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

Any other information?

@github-project-automation github-project-automation bot moved this to Needs triage in PatternFly Issues Aug 14, 2024
@kmcfaul kmcfaul added this to the 2024.Q4 milestone Aug 27, 2024
@kmcfaul kmcfaul moved this from Needs triage to Not started in PatternFly Issues Aug 27, 2024
@kmcfaul kmcfaul removed the bug label Oct 25, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@mfrances17 mfrances17 self-assigned this Jan 9, 2025
@mfrances17 mfrances17 removed the wontfix label Jan 9, 2025
@mfrances17 mfrances17 moved this from Not started to In Progress in PatternFly Issues Jan 9, 2025
@thatblindgeye thatblindgeye modified the milestones: 2024.Q4, 2025.Q1 Jan 14, 2025
@mfrances17 mfrances17 moved this from In Progress to PR Review in PatternFly Issues Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PR Review
Development

Successfully merging a pull request may close this issue.

4 participants