Skip to content

Commit c4a619c

Browse files
fix: change color for a transparent overlay style in ModalOverlay
1 parent f70f1d6 commit c4a619c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Components/Modal/SwiftUI/ModalOverlay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct ModalOverlay<VM: ModalVM>: View {
2424
// Note: The tap gesture isn't recognized when a completely transparent
2525
// color is clicked. This can be fixed by calling contentShape, which
2626
// defines the interactive area of the underlying view.
27-
Color.black.contentShape(.rect)
27+
Color.clear.contentShape(.rect)
2828
}
2929
}
3030
.ignoresSafeArea(.all)

0 commit comments

Comments
 (0)