Skip to content

Commit 20e3dab

Browse files
committed
Lightbox: Remove scrollbars when panning and zooming on iOS.
I don't think these really add anything.
1 parent 99c3a24 commit 20e3dab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lightbox/Lightbox.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ export default function Lightbox(props: Props) {
7676
// https://github.com/alwx/react-native-photo-view/issues/98
7777
// TODO: Figure out how to make it work.
7878
resizeMode="contain"
79+
showsHorizontalScrollIndicator={false}
80+
showsVerticalScrollIndicator={false}
7981
onTap={handleImagePress}
8082
onViewTap={handleImagePress}
8183
/>

0 commit comments

Comments
 (0)