iOS18 onTapGesture stopped working with Menu
Issue:
After updating to Swift 6 and iOS 18, the Menu component’s interaction is not behaving as expected. The onTapGesture and primaryAction don’t work correctly to trigger the desired action when the user taps on the menu.
iOS18 onTapGesture stopped working with Menu
Issue:
After updating to Swift 6 and iOS 18, the Menu component’s interaction is not behaving as expected. The onTapGesture and primaryAction don’t work correctly to trigger the desired action when the user taps on the menu.