Post

Replies

Boosts

Views

Activity

Comment on ScrollView content ignores taps near UIViewControllerRepresentable
Thanks for the response. Adding a .contentShape modifier is useful for limiting the hit-test to within the bounds of a frame, but it doesn't solve the dead-zone that's clearly created by the presence of the UIViewControllerRepresentable. Adding the .border modifiers indicates that the button should be hit-able, but as my example shows, it's clearly ignoring the hits. As I noted, the Apple Pencil works fine, but finger and mouse do not.
Aug ’24