Update HTML.tsx

This commit is contained in:
xmflsct 2023-02-03 13:48:29 +01:00
parent 242ecf76c0
commit 7c7c96bc42
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ const ParseHTML: React.FC<Props> = ({
<Text
children={document.children.map(renderNode)}
onTextLayout={({ nativeEvent }) => {
if (numberOfLines === 1 || nativeEvent.lines.length >= numberOfLines + 5) {
if (numberOfLines === 1 || nativeEvent.lines.length >= numberOfLines + 8) {
setTotalLines(nativeEvent.lines.length)
}
}}