Closed IbrahimCanKALYA closed 3 years ago
@IbrahimCanKALYA can you share some more info like screenshot and some piece of code on how you're using it ? This can help me fix.
<ReadMore
style={{...styles.defaultTextStyle, ...style}}
numberOfLines={numberOfLines}
allowFontScaling={false}
seeMoreText="more"
seeLessText="less"
seeMoreStyle={{...style, ...styles.seeMoreLessStyle, ...seeMoreStyle}}
seeLessStyle={{...style, ...styles.seeMoreLessStyle, ...seeLessStyle}}
{...props}>
{renderText()}
</ReadMore>
i'm facing with this issue on samsung s20
i find the problem where he is. when i set allowFontScaling={false} this problem accoures but i need to set this parameter
i fixed this issue via this usage:
customTextComponent={(props: TextProps) => (
<Text {...props} allowFontScaling={false} />
)}
@IbrahimCanKALYA thanks for providing more info. I've fixed this issue. Now just passing allowFontScaling={false}
should be sufficient and you can remove customTextComponent
.
Upgrade to version ^1.1.4
on ios everything seems fine but on android; always show more button showing..