I'm trying to use menu in tabViewBottomAccessory to present a menu of options and I'm finding that the tap is only registered if the text is tapped any taps outside of the text is not registered.
Is there a way to get the whole button to register?
TabView(selection: $entryManager.currentTab) {
Tab("Home", systemImage: "circle.hexagonpath.fill", value: .home) {
SomeView()
}
.tabViewBottomAccessory {
Menu("Post Review") {
// MARK: Submit Other
Button(action: {
}
) {
Label("Submit Other", systemImage: "building.2.fill")
}
Button(action: {
}
) {
Label("Submit Bed", systemImage: "bed.double.fill")
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI