if someone found this try to merge all your scrollTo in a Foreach (I merged the else if wichView.SelectedView == 5 and the else if wichView.SelectedView == 9 and it works but still don't know why it doesn't work with different conditions)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: