Nested horizontal ScrollView has invisible padding from the top. I've tried to add ".padding(.top, 0)" for the ScrollView and for the content, but it doesn't work. Is it a bug or it is possible to remove this padding?
VStack(alignment: .leading) {
Text("Text one")
Text("Text two")
ScrollView(.horisontal, showsIndicators: false) {
Text("Text with strange top padding")
}
}.padding(.horizontal)
