react-native-cacheable-image icon indicating copy to clipboard operation
react-native-cacheable-image copied to clipboard

Touchable child must either be native or forward setNativeProps to a native component

Open pejalo opened this issue 8 years ago • 2 comments

I'm getting this warning when placing <CacheableImage> directly inside a <TouchableHighlight> component.

One workaround for now is to wrap <CacheableImage> with <View style={{flex: 1}}>

pejalo avatar Feb 06 '17 07:02 pejalo

Can you add the warning message you're receiving here?

jayesbe avatar Feb 06 '17 10:02 jayesbe

Below is a screenshot.

I have a fix right now that seems to be working locally based off of this explanation. But it requires a tweak to react-native-responsive-image - you can see my comment to the maintainer of that repo.

If he makes the necessary change and gets back to me, I'll submit a PR.

simulator screen shot feb 6 2017 11 01 36

pejalo avatar Feb 06 '17 20:02 pejalo