While testing this exact markdown: https://github.com/mientjan/react-native-markdown-renderer/blob/master/README.md
I have the following error:
Android error: Cannot add a yoga node to a parent without a measure function!
This is how I render the markdown:
<Markdown
whitelist={['link', 'url', 'list']}
>
{item.description}
</Markdown>
This is how simple-markdown is called:
https://github.com/CharlesMangwa/react-native-simple-markdown/blob/277a41b56d84707fe300cb820f259aae6a3f1593/src/index.js#L71
It breaks with or without the whitelist, while I expect it to work on both.
I want to only use the bullet point in my rendering, but adding more content should not break. How can I fix this?
Reproduction
https://snack.expo.io/@kopax/04bd18
Use Android device
Related issue
While testing this exact markdown: https://github.com/mientjan/react-native-markdown-renderer/blob/master/README.md
I have the following error:
This is how I render the markdown:
This is how simple-markdown is called:
https://github.com/CharlesMangwa/react-native-simple-markdown/blob/277a41b56d84707fe300cb820f259aae6a3f1593/src/index.js#L71
It breaks with or without the whitelist, while I expect it to work on both.
I want to only use the bullet point in my rendering, but adding more content should not break. How can I fix this?
Reproduction
https://snack.expo.io/@kopax/04bd18
Use Android device
Related issue