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.
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 thewidthOnly
prop.. still no luck.