"native-base": "^2.3.2",
"react": "16.0.0-alpha.12",
"react-native": "0.48.4",
Cards should render properly for all devices.
Cards render properly on my device (iOS 10) as well as emulators. Some users with iOS 11 are experiencing issues.
Create a Card with CardItem and button set to {true}. Put an image inside the card. Try it on iOS 11 with an iPhone 7 or 8 PLUS.

The above is what the bug looks like. The card's image don't appear, and it is no longer clickable. I have another page with a card and an image and it loads fine, but this card does not have button={true} set, so this might be an issue specifically with card buttons.
^ This is what it should look like
Only tried iOS
My cards are structured like this:
<Container>
<Content padder>
<Card>
<CardItem cardBody button={true} onPress={() => { navigate('Samplers') }}>
<Image source={require('./assets/images/categories/samplers.jpg')} style={{height: 200, width: null, flex: 1}}/>
<Text style={styles.cardTextOverlay}>SAMPLERS</Text>
</CardItem>
</Card>
</Content>
</Container>
I downloaded the latest Xcode and dug around some more. This issue seems to only occur on iOS 11 on iPhone 7 Plus, not the regular iPhone 7. Will test others as well.
Specifically, it relates to the style attribute on the width: null part?
Also I'm not entirely sure if this is a NativeBase issue, or a react-native issue. Anyone have any insight?
Only if I remove the width and height attributes, the image loads properly (although improperly sized). Very strange.
It gets deeper... it has to do with the height I set the images to. If I try a taller height, the issue seems to go away. My images were set to height: 200 and if I changed it to height: 260 it works. I tried it with JPGs and PNGs. Seems to be an issue with the image scaling.
Try setting flexWrap: 'nowrap' on Card style.
Is there any solution?
I am trying to use this card inside a deskSwiper,
I tried to give flexWrap: 'nowrap' to the card and I was able get the entire image inside a card > cardItem index[0], but other items are not displaying properly.
@anmolmayank
tried deckswiper using slickdev's card adding card styleflexWrap: 'nowrap'. It was working fine. Attaching a gif

Closing the issue due to no response
The issue wasn't regarding deckswiper. It was regarding the card component.
@akhil-geekyants there's no solution yet. The issue is about the card component, not about deckswiper.
Sorry! There might be some confusion in answering between the issues
We will reconsider this
It can be fixed by using flexWrap: 'nowrap' on Card style.
thanks to mtebele
@slickdev @mtebele @anmolmayank @shobhitnpm
<Card>
<CardItem cardBody button={true}>
<Image
source={require("../../../assets/NavLogo.png")}
style={{ width: null, flex: 1 }}
/>
</CardItem>
<CardItem>
<Text>SAMPLERS</Text>
</CardItem>
</Card>
This seems to be working fine with iOS 11 iPhone 7Plus
The issue was due to improper value of height with Image
for that matter width is not mandatory
the above snippet works without providing width to Image
same issue here. but tested on
Device: iPhone 6S+
iOS: 10.3.3
also
Device: Tab Lenovo A5500
Android: Jellybean
@ikhsanalatsary can you check with native-base version 2.3.6

This is from NativeBase-KitchenSink
Card with Image renders fine on iPhone 6s+
Yes, it's works
Most helpful comment
Try setting
flexWrap: 'nowrap'on Card style.