Popovers
Popovers copied to clipboard
Unnecessary touch behind a background view
Hi! I have founded a problem with using of background. In my very case, I want to close a view by clicking on a background view. But if behind of the touch is located a text field, it will open a keyboard. If button - it will trigger an action. How to block touches behind? Thank you!
.popover(present: $present ),
attributes: {
$0.position = .relative(popoverAnchors: [.center])
}, view: {
TestView()
}, background: {
Color.green
})