Skip to content

In react-native 0.57.7 links in the text throw exception #20

Description

@agazso

It comes from top-level renderApplication as an Invariant violation error (Nesting of <View> within <Text> is not currently supported). It is because links are wrapped in TouchableOpacity in react-native-easy-markdown, and in react-native 0.57.7 the TouchableOpacity contains a View (and animated one).

As a workaround it's possible to use a renderLink function with a TouchableWithoutFeedback, but that lacks the visual feedback that TouchableOpacity have, so it can be considered as a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions