From 6664aa50634b288307bf32e14a1fe3c67062a743 Mon Sep 17 00:00:00 2001 From: Andries Smit Date: Mon, 17 Jun 2024 21:46:47 +0200 Subject: [PATCH] fix(image-native): click enlarged to close --- .../image-native/src/components/ImageComponents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pluggableWidgets/image-native/src/components/ImageComponents.tsx b/packages/pluggableWidgets/image-native/src/components/ImageComponents.tsx index af72b5776..1666feb4c 100644 --- a/packages/pluggableWidgets/image-native/src/components/ImageComponents.tsx +++ b/packages/pluggableWidgets/image-native/src/components/ImageComponents.tsx @@ -260,7 +260,7 @@ export const ImageEnlarged: FunctionComponent = props => { style={styles.backdrop} > setEnlarged(false)} style={{ // The child (FastImage) needs "flexGrow: 1" so images on Android are not blurry. // Therefore we explicitly have to set width / height here to prevent the image from taking up the whole screen, which in turn prevents the user from closing the modal (bc parent Pressable will not be clickable).