title: SwiftUI Disabling recursion trigger logging when use Menu
body: <p>Hi everyone I'm using the <strong>&quot;Menu&quot;</strong> structure to display the possible choices to the user</p>
  <pre><code>public struct Menu &lt;Label, Content&gt;: Display where Label: Display, Content: Display 
  </code></pre>
  <hr />
  <p>Everything seems to work with <strong>SwiftUI</strong> but I continue to receive alerts in the console that tell me this:</p>
  <pre><code>2021-09-30 20:55:40.032369+0200  [UILog] Called -[UIContextMenuInteraction updateVisibleMenuWithBlock:] while no context menu is visible. This won't do anything.
  2021-09-30 20:55:41.344436+0200  [UILog] Called -[UIContextMenuInteraction updateVisibleMenuWithBlock:] while no context menu is visible. This won't do anything.
  2021-09-30 20:55:41.414976+0200  [UICollectionViewRecursion] cv == 0x10401dc00 Disabling recursion trigger logging
  2021-09-30 20:55:41.417708+0200  [UICollectionViewRecursion] cv == 0x10401dc00 Disabling recursion trigger logging
  </code></pre>
  <p>Where am I doing wrong ?</p>
  <p>This is my code for the Menu</p>
  <pre><code>private var months: [Date] {
      calendar.createDate(
          interval: calendar.dateInterval(of: .year, for: Date())
                matching: DateComponents(day: 1, hour: 0, minute: 0, second: 0)
             )
         }
  
       
  var body: some View {
      
        Menu(&quot;Options&quot;) {
            ForEach(months, id:\.self) { month 
               Button(&quot;\(DateFormatter(format: &quot;MMMM&quot;).string(from: month))&quot;){
                          selectedDate = month }
                  }
              }
        }
  
           
  </code></pre>