Menu List Error

Hi, I'm trying to have a menu at the trailing edge of a list but when I do so I am getting UIKit errors. I pasted my sample code below. Not exactly sure how to fix this.

                    ForEach(0..<100) { i in
                        HStack {
                            Text("\(i)")
                            Spacer()
                            Menu {
                                Text("Test")
                            } label: {
                                Image(systemName: "ellipsis")
                            }
                        }
                    }
                }

Adding '_UIReparentingView' as a subview of UIHostingController.view is not supported and may result in a broken view hierarchy. Add your view above UIHostingController.view in a common superview or insert it into your SwiftUI content in a UIViewRepresentable instead.

Menu List Error
 
 
Q