A simple button in SwiftUI does not have an accurate tap area. It's supposed to react to the tap gesture only when the user is tapping inside the bounds. But it's not.
iOS 14.5
Xcode 12.5.1 (12E507)
A simple button in SwiftUI does not have an accurate tap area. It's supposed to react to the tap gesture only when the user is tapping inside the bounds. But it's not.
iOS 14.5
Xcode 12.5.1 (12E507)
You may be looking at the mouse pointer?
Look at the circle (which represents a finger) instead.
The tap area is clearly intersecting the button.
And of course, this is the simulator.
Have you found a problem when running on actual devices?
It is the right result. The tap area is larger than the Button border. If you want to adjust the tap area, you should adjust the code. For example, use Rectangle with .onTapGesture