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

Hello, I encountered the following React's warning when running unit tests for a component that is wrapping `react-truncate`: ``` Warning: Can't perform a React state update on an unmounted component....

Hello! I have a div where I'm showing a file name. The file name is something like `asdsdfasdfasdfasdfasdfasdfasdfasdfasdf.pdf`. The text get cut with no showing the ellipsis.

For higher font-Size the measureWidth is not calculating correct width #134

I am trying to write a test for a component. when the value of `width` props is set, test get failed // passed test it('renders without crashing', () => {...

When the page loads initially, it flashes the full description, causing the page to jump a bit.

I'm using this package to resolved issue IE 11 cant handle text-overflow: ellipsis. But on develop progress, i found an issue. The ellipsis still display although i set line truncate...

Adding null or undefined condition for ellipsis in order to avoid "Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)" during tests see also here: https://github.com/hustcc/jest-canvas-mock/issues/2

## Description `react-truncate` usage is broken when using Brave browser. Small investigation showed that turning off 3rd party device recognition is the cause. After disabling it, everything is working as...

related: https://github.com/devzonetech/react-show-more-text/issues/4

When truncated tags are stripped from render, but are rendered on expand