Skip to content
Merged
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
8 changes: 8 additions & 0 deletions ios/LiquidGlassView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ import UIKit
// Animate only the effect is changed after first mount.
UIView.animate { self.effect = glassEffect }
}

// UIGlassEffect can reconfigure the internal contentView in a way that
// disables user interaction when no subviews are present at the time the
// effect is applied. In React Native (Fabric), child component views may
// be mounted into contentView *after* layoutSubviews triggers setupView(),
// leaving contentView with userInteractionEnabled == false for the
// lifetime of this view. Force it back on so touches always reach children.
self.contentView.isUserInteractionEnabled = true
}
}

Expand Down
Loading