Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ios/ReactNativeBlurView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ - (void)layoutSubviews

- (void)mountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
{
[_advancedBlurView addSubview:childComponentView];
// Index zero belongs to the internal effect view, below all React children.
[_advancedBlurView insertSubview:childComponentView atIndex:index + 1];
}

- (void)unmountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
Expand Down
3 changes: 2 additions & 1 deletion ios/ReactNativeProgressiveBlurView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ - (void)layoutSubviews

- (void)mountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
{
[_progressiveBlurView addSubview:childComponentView];
// Index zero belongs to the internal effect view, below all React children.
[_progressiveBlurView insertSubview:childComponentView atIndex:index + 1];
}

- (void)unmountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
Expand Down
Loading