VariableBlur icon indicating copy to clipboard operation
VariableBlur copied to clipboard

Allow user interaction with underlying content

Open jordanhbuiltbyhq opened this issue 11 months ago • 1 comments

The visual effect view blocks interacting with underlying content. For example if you place it at the bottom of the screen to mimic the Journal app's blur, you can't swipe in that area to scroll. To fix set isUserInteractionEnabled = false when the view is init.

jordanhbuiltbyhq avatar Feb 24 '25 14:02 jordanhbuiltbyhq

This might be a better default but I don't think it's worth changing in a minor update.

In UIKit there's isUserInteractionEnabled = false like you mentioned and in SwiftUI use .allowsHitTesting(false) to achieve the same behavior.

nikstar avatar Feb 25 '25 08:02 nikstar