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

[ListItem, Text] Android crashes when there's an svg within text #189

Open
IanCStewart opened this issue Oct 25, 2018 · 1 comment
Open

Comments

@IanCStewart
Copy link
Contributor

For example the following code crashes android devices:

<ListItem
    primaryText="Henk de Freeze"
    secondaryText={(
        <View>
            <IconHand />
            <Text>online</Text>
        </View>
    )}
/>
@IanCStewart
Copy link
Contributor Author

I thought of type checking the prop being passed to decide if text would be rendered. This leaded into no secondaryText at all since most of the texts were ReactComponents which did need Text around it.

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

1 participant