question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

it’s not truncating anything

<TruncateString text="abdctafdafdsfsdddd" truncateAt={10} />

nothing happens. It renders the full string.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
albinotonninacommented, Oct 21, 2020

@dschinkel I updated the README. I make clear that spaces are required for the truncation to happen. Thank you for pointing that out.

1reaction
dschinkelcommented, Oct 21, 2020

To be honest I don’t think that dealing with the truncation of strings without spaces would be that interesting

I was using it to try and truncate full names of people on my site. I had to squeeze people into a grid so being able to truncate would be useful.

I would contribute but I’m really focused on getting some new stuff out for the site.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there any difference between "it's not working" and "it doesn ...
It is correct to say "It's not working" when something is broken permanently, however, if something is broken forever (or permanently), stating, "It...
Read more >
What To Do When Things Are Not Working - YouTube
What To Do When Things Are Not Working. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, ......
Read more >
Youtube outages reported in the last 24 hours - Downdetector
Real-time problems and status for Youtube UK. Can't log in? Is the app not working properly? Here you see what is going on....
Read more >
138 Synonyms & Antonyms for NOT WORKING - Thesaurus.com
synonyms for not working · baseless · false · inoperative · irrational · null · unreasonable · unscientific · unsound ...
Read more >
What is correct, “he is not working no more” or “is he ... - Quora
No more here means : stopped /closed. He is not working now but stopped and even closed doing work (no start even at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found