react-scale-text icon indicating copy to clipboard operation
react-scale-text copied to clipboard

Long string with no spaces is not confined to parent div

Open rpanczer opened this issue 7 years ago • 0 comments

I'm trying to use ScaleText to scale long emails inside a parent div. The emails are ~25-35 characters and they're overflowing out of the parent div.

I tried to wrap the ScaleText component with a div and set width and height in a style prop to test... but the text still overflowed. minFontSize is not set. I tried with and without the widthOnly prop.. still no luck.

rpanczer avatar Mar 21 '18 15:03 rpanczer