react-truncate icon indicating copy to clipboard operation
react-truncate copied to clipboard

React component for truncating multi-line spans and adding an ellipsis.

Results 54 react-truncate issues
Sort by recently updated
recently updated
newest added

https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners

I set 'lines' to 3, but get 2 lines instead. Does this bug exist all the time? ``` {text} ``` >ReadMore is a Component package base on Truncate

This modules doesn't support language that doesn't separate word by space, e.g. Chinese, Japanese

### Issue Can't use truncate when inside of a `` ``` Warning: validateDOMNesting(...): cannot appear as a descendant of . in div (at Truncate.js:33) ``` ### Suggestion Use `span` over...

Getting error - TypeError: Cannot read property 'length' of undefined in Truncate.js ` {value} `

I am importing this into a component, but I want to determine how many lines were generated to do some functionality on. Is there a way to get this within...

Hi! I was looking to check out some examples of this and it looks like the link for the repo (https://www.webpackbin.com/bins/-Kw6QnAkjmv1OD6Of-ZD) is down.

I use this component to truncating a text, and I need to use `react-linkify` inside. I can override renderLine for this goals, but I noticed that last line rendered with...

The number of characters starts reducing when repeatedly scrolling up and down on mobile. Maybe because of window resize due to chrome mobile address bar collapsing on scroll. How can...

For text whose styles, particular font-size, can shift around, it can be necessary to put the `...` on the text assuming it's the largest size it'd ever be. This can...