Open agazso opened 5 years ago
@agazso I have a PR #23 that replaces TouchableOpacity with TouchableWithoutFeedback. It seems appropriate to me to allow inline links, and if the react native way to do that is only with TouchableWithoutFeedback, than that's the way it should be implemented. Let me know if that works with your application (I'm only on RN 0.55
)
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 inTouchableOpacity
in react-native-easy-markdown, and in react-native 0.57.7 theTouchableOpacity
contains aView
(and animated one).As a workaround it's possible to use a renderLink function with a
TouchableWithoutFeedback
, but that lacks the visual feedback thatTouchableOpacity
have, so it can be considered as a regression.