devzonetech / react-show-more-text

Convenience wrapper around react-truncate

Home Page:https://github.com/One-com/react-truncate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text is compressed on devices greater than 397px width

devChrisho opened this issue · comments

Hi I'm rendering on desktop simulation for devices width 396px are ok, but once it goes to 397px, the module calculates and creates more and shorter lines.

I was able to render correctly after using another library sizeme and pass the width to show-more-text

Had the same problem! Sizeme did not work for me. I had unfortunately to use a fixed width size.