Is .menuOrder(.priority)
not working inside a List
? It works as it should without the List
. Inside one it doesn’t work.
Is there any other way to switch the order or make the contextMenu
appear at the bottom?
List {
Color.gray
.frame(height: 400)
Text("Numbers")
.padding()
.contextMenu {
Button("1", action: { })
Button("2", action: { })
Button("3", action: { })
Button("4", action: { })
}
.menuOrder(.priority)
}