I'm running into the same issue now. It was working great with .clipped().compositingGroup() previously. It's in a part of the app that I don't regularly use, so I didn't notice until today that this broke with iOS15.1. I'm also on Xcode 13.2.1, same broken behaviour in the simulator and on a real device.
Post
Replies
Boosts
Views
Activity
After struggling with this issue for a day, I find the answer half an hour after posting. The solution is to replace the Form in SubForm with List, and it gives me exactly what I'm looking for.
After a lot of digging around, I've been able to find the following solution/workaround:
func scrollUp() {
let app = XCUIApplication()
let relativeTouchPoint = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 1.0))
let relativeOffset = app.coordinate(withNormalizedOffset: CGVector(dx: 0, dy: -1))
relativeTouchPoint.press(forDuration: 0, thenDragTo: relativeOffset)
}