Skip to content

Commit

Permalink
fix: ensure image visibility in file viewer on new architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
bang9 committed Oct 28, 2024
1 parent b0ad96b commit ec6834b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const ZoomableImageView = ({

const styles = createStyleSheet({
container: {
zIndex: -1,
zIndex: 0,
flex: 1,
alignItems: 'center',
justifyContent: 'center',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const FileViewerFooter = ({ bottomInset, deleteShown, onPressDelete, onPressDown

const styles = createStyleSheet({
container: {
zIndex: 1,
position: 'absolute',
left: 0,
right: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const FileViewerHeader = ({ headerShown = true, topInset, onClose, subtitle, tit

const styles = createStyleSheet({
container: {
zIndex: 1,
top: 0,
left: 0,
right: 0,
Expand Down

0 comments on commit ec6834b

Please sign in to comment.