Skip to content

Commit 5c3ee2d

Browse files
committed
Add comment for clearColor
1 parent e147b12 commit 5c3ee2d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ios/gamma/modals/form-sheet/RNSFormSheetContentView.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ @implementation RNSFormSheetContentView
55
- (instancetype)initWithFrame:(CGRect)frame
66
{
77
if (self = [super initWithFrame:frame]) {
8+
// Explicitly set to clearColor since this UIView is manually added
9+
// into the view hierarchy. This ensures it doesn't interfere with
10+
// any background colors defined by child React subviews.
811
self.backgroundColor = [UIColor clearColor];
912
}
1013
return self;

0 commit comments

Comments
 (0)