We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83bac0c commit db4248fCopy full SHA for db4248f
package/src/components/Attachment/Gallery.tsx
@@ -62,6 +62,12 @@ const styles = StyleSheet.create({
62
left: 4,
63
position: 'absolute',
64
},
65
+ imageLoadingIndicatorContainer: {
66
+ height: '100%',
67
+ justifyContent: 'center',
68
+ position: 'absolute',
69
+ width: '100%',
70
+ },
71
imageLoadingIndicatorStyle: {
72
alignItems: 'center',
73
justifyContent: 'center',
@@ -490,7 +496,7 @@ const GalleryImageThumbnail = <
490
496
uri={thumbnail.url}
491
497
/>
492
498
{isLoadingImage && (
493
- <View style={{ position: 'absolute' }}>
499
+ <View style={[styles.imageLoadingIndicatorContainer]}>
494
500
<ImageLoadingIndicator style={styles.imageLoadingIndicatorStyle} />
495
501
</View>
502
)}
0 commit comments