Allow touch at the top of the lightbox (#1489)

zio/stable
dan 2023-09-20 12:41:18 +01:00 committed by GitHub
parent 6db7113108
commit cd96f8dcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ const ImageDefaultHeader = ({onRequestClose}: Props) => (
const styles = StyleSheet.create({ const styles = StyleSheet.create({
root: { root: {
alignItems: 'flex-end', alignItems: 'flex-end',
pointerEvents: 'box-none',
}, },
closeButton: { closeButton: {
marginRight: 8, marginRight: 8,

View File

@ -189,6 +189,7 @@ const styles = StyleSheet.create({
width: '100%', width: '100%',
zIndex: 1, zIndex: 1,
top: 0, top: 0,
pointerEvents: 'box-none',
}, },
footer: { footer: {
position: 'absolute', position: 'absolute',