react-native-live-markdown
react-native-live-markdown copied to clipboard
Removing `multiline` on Android doesn't change component size
Description
If original text value has \n character, removing multiline prop doesn't change component size, leaving blank space equal to the number of \n characters. Removing spaces reduce component size.
https://github.com/user-attachments/assets/d4c8cac8-784a-4b75-99ad-59242d1e7da0
Reproduction steps:
- Open example app
- set initial
valueto text that includes new line character - comment
multilineprop - Observe that component size stays the same even though there is single line of text.
commit c352064a2f6c71d457277d958a0270c9d989db5a