react-scale-text
react-scale-text copied to clipboard
Long string with no spaces is not confined to parent div
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.