-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default hardbreak
breaks on Android
#60
Comments
hardbreak
breaks on Android
This has been fixed in v3.2.8 see ticket #56 describing the same issue, or i am missing something. Thx for reporting this anyway. |
I had another look to see if I did a mistake. I am on v3.2.8 and I still got the error above. I'm not exactly sure how the markdown is converted to react-native jsx but the issue lies in So either:
Thanks for looking at this. |
I can confirm that this is still a real problem in 3.2.8.
In this case there is a hardbreak after the word |
When trying to render the following
It breaks on android, specifically where the " \n " is (note the two spaces that cause the hardbreak)
On android this error occurs when rendering
According to facebook/react-native#10232 this is only a problem for android and not iOS as your able to put
view
insidetext
in iOSThe default render rule for hardbreak is a view which causes
view
insidetext
to occur. The default should be changed so that it does not break on android.To get around this I used this render rule for hardbreak instead
The text was updated successfully, but these errors were encountered: