问题是,当我在列表中的任何地方(在项目上,在列表本身上)设置"onLongPressGesture“时,列表不能再滚动。我可以很容易地让一个简单的点击工作,但长按块滚动。some View List ForEach(data,id:\.self) item in
Text(item).onLongPressGesture
Text("\(phraseGroup.wrappedExtraText)") .onLongPressGesture$isEditMode)}init (phraseGroupViewAlertItem: Binding<AlertItem?name of a Piece <- PhraseGroup relationship defined in Core Data