Skip to content
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

Markdown tag doesn't respect wrapping: #15

Open
ambarc opened this issue Apr 13, 2016 · 2 comments
Open

Markdown tag doesn't respect wrapping: #15

ambarc opened this issue Apr 13, 2016 · 2 comments

Comments

@ambarc
Copy link

ambarc commented Apr 13, 2016

Hey I have a Markdown that I can't get to wrap to a width. I've tried

Markdown style={{ view: {flexWrap: 'wrap', width: 300} }} > {messageText.split('\n')} </Markdown>

And I get one line of markdown that blazes through all the views and refuses to wrap. The yellow shows the markdown element.

image

@xcplus
Copy link

xcplus commented Apr 24, 2016

I have same problem.

@lossen
Copy link

lossen commented Nov 11, 2016

In path /Users/anna/projects/fox-mobile/node_modules/react-native-simple-markdown/styles.js fix style:
listItemText: {
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'flex-start',
alignItems: 'flex-start',
color: '#222222',
flex:1
}

Then move plugin folder in the folder with the components of your project and reconnect the component react-native-markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants