Post

Replies

Boosts

Views

Activity

Reply to Tappable area expands with clipped Image
This bug is still apparent in Xcode 13 beta and most likely will be there on release. A temporary workaround is to wrap the entire image inside a Button(action: label:), but this gives an undesirable down state effect in most cases. Furthermore, strangely enough, applying a .buttonStyle(...) seems to revert back to the original tap bug where the incorrect index is selected.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21