react-native-htmlview icon indicating copy to clipboard operation
react-native-htmlview copied to clipboard

Incomplete text display when setting line height

Open MarxZhou opened this issue 4 years ago • 0 comments

When I set the line height, I found that when the property is set to 20, some text can only be displayed incomplete. It has no effect when setting other values.

This is my code: <HTMLView value={answerContent} stylesheet={{ p: { color: '#444444', fontSize: 16, lineHeight: 22, }, }} />

Version Info: react-native:0.59.9 react-native-htmlview:0.14.0

I tested it and found that this problem only occurs when the line height is set to 20. Setting other values and changing the font size will not be affected.

image

image

MarxZhou avatar Mar 04 '20 08:03 MarxZhou