Hello! When trying to modify a Button's frame with visionOS as a target, the default button frame will always remain as a capsule. I would expect the "hover" behavior/background to fill the frame.
Anyone else? I will file feedback. Thanks!
Code:
struct HostCell: View {
var body: some View {
Button(action:{}, label: {
Image(systemName: "plus")
}).frame(width: 100, height: 100).background(.red)
}
}
Result attached as an image