react-native-image-modal
react-native-image-modal copied to clipboard
modalImageStyle doesn't works
hello guys,
my code: <ImageModal resizeMode="cover" modalImageResizeMode="contain" overlayBackgroundColor={colors.black} imageBackgroundColor={colors.primary} style={{ width: 45, height: 45 }} modalImageStyle={{ width: 800, height: 800 }} source={ uri ? { uri: uri } : require('@assets/images/without-user-profile.jpeg') } onLoad={() => setShowShimmer(true)} />
what's happening: my image has 45px of width and height when is outside modal, when I click at the image, it does not open with 800px like I put in modalImageStyle, it continues with 45px, but stretched