react-clamp-lines icon indicating copy to clipboard operation
react-clamp-lines copied to clipboard

Clamping doesn't work with the `word-break: break-all;` CSS property

Open AlexLomm opened this issue 4 years ago • 2 comments

Hello,

first of all, thanks for the great library!

I discovered a bug when the word-break: break-all; causes the component to not work properly:

Screen Shot 2020-12-07 at 4 38 56 PM

https://codesandbox.io/s/cool-hypatia-tm0pw?file=/src/App.tsx

AlexLomm avatar Dec 07 '20 12:12 AlexLomm

This might help you in the meantime https://github.com/zoltantothcom/react-clamp-lines/pull/52

nosnickid avatar Nov 12 '21 12:11 nosnickid

This is currently happening :(

fontes-viz avatar May 10 '22 16:05 fontes-viz