Menu's primaryAction:{} is broken on latest iOS 26 beta

The following shows minimal example to reproduce the issue:

Menu {
      Button("Test"){}
} label: {
    Text("Menu")
} primaryAction: {
     // Some action
}

primaryAction modifier will not be called when pressing the menu button/view on iOS 26 beta, long pressing it will open the menu.

Was tested on latest iOS 26 beta 8

Have you raised a Feedback report? If not, please do so at https://feedbackassistant.apple.com/ then post the FB number here.

@darkpaw Yes of course I did, FB20011843

Good stuff! It means Apple can link any extra info or a solution presented here to that ticket, and vice versa.

This is still not fixed in XCode 26 RC

The issue seems to be with List Section{} headers. The following will not work:

List {
    Section {
        // Content
     } header: {
         HStack {
             Menu {
                 Button("Test"){}
              } label: {
                 Text("Menu")
              } primaryAction: {
                 // Some action
              }
          }
     }
}
Menu's primaryAction:{} is broken on latest iOS 26 beta
 
 
Q