We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f8e3e commit 65140abCopy full SHA for 65140ab
package/src/components/Attachment/Gallery.tsx
@@ -327,14 +327,7 @@ const GalleryThumbnail = ({
327
});
328
}
329
}}
330
- style={({ pressed }) => [
331
- styles.imageContainer,
332
- {
333
- opacity: pressed ? 0.8 : 1,
334
- flex: thumbnail.flex,
335
- },
336
- imageContainer,
337
- ]}
+ style={[styles.imageContainer, { flex: thumbnail.flex }, imageContainer]}
338
testID={`gallery-${invertedDirections ? 'row' : 'column'}-${colIndex}-item-${rowIndex}`}
339
{...additionalPressableProps}
340
>
0 commit comments