Benjamin-Dobell / react-native-markdown-view

MarkdownView for React Native
MIT License
190 stars 77 forks source link

Text is cut on Android after upgrade to Expo SDK 33 and react 16.8.3 #40

Open fimkap opened 4 years ago

fimkap commented 4 years ago

We noticed that after upgrade to Expo SDK 33 and react 16.8.3 under some conditions the text is cut at the end of paragraphs. The sample screenshot is attached. It happens only on Android with larger screens. It looks like wrong calculation of internal size of a view based on the text. Playing with padding or margins in styles will not fix it. Adding empty lines can help but it is a patch and not easily applied for multi-paragraph text. What can be the reason for that and how it can be fixed?

WhatsApp Image 2019-09-26 at 18 05 50