@workingdogintokyo I tried removing that but the problem still persists. here is what I updated the code to:
var body: some View {
ZStack(alignment: .topLeading) {
Map(coordinateRegion: $region, annotationItems: pointsOfInterest) { item in
MapAnnotation(coordinate: item.coordinate) {
RoundedRectangle(cornerRadius: 5.0)
.stroke(Color.purple, lineWidth: 4.0)
.frame(width: 30, height: 30)
}
}
.edgesIgnoringSafeArea(.all)
TextField("text", text: $text).textFieldStyle(RoundedBorderTextFieldStyle())
}
}
did you make sure to click the TextField so that the software keyboard pops up and try panning after that? thanks